Update cli/client.go
This commit is contained in:
parent
fda0651bb5
commit
a7bbf56cae
@ -577,7 +577,7 @@ var clientRetrieveCmd = &cli.Command{
|
|||||||
var cleaned []api.QueryOffer
|
var cleaned []api.QueryOffer
|
||||||
// filter out offers that errored
|
// filter out offers that errored
|
||||||
for _, o := range offers {
|
for _, o := range offers {
|
||||||
if o.Err != "" {
|
if o.Err == "" {
|
||||||
cleaned = append(cleaned, o)
|
cleaned = append(cleaned, o)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user