diff --git a/cli/client.go b/cli/client.go index 2125f524a..5cc16480c 100644 --- a/cli/client.go +++ b/cli/client.go @@ -577,7 +577,7 @@ var clientRetrieveCmd = &cli.Command{ var cleaned []api.QueryOffer // filter out offers that errored for _, o := range offers { - if o.Err != "" { + if o.Err == "" { cleaned = append(cleaned, o) } }