Skip to content

Commit

Permalink
cleanup, err
Browse files Browse the repository at this point in the history
  • Loading branch information
adamewozniak committed Oct 18, 2023
1 parent 09d7dd8 commit cddbebe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cmd/downtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,13 @@ func getDowntimeCmd() *cobra.Command {
missingRates = append(missingRates, asset.SymbolDenom)
}
}

if len(missingRates) < 1 {
fmt.Println("No downtime detected")
return nil
}
fmt.Println("Missing rates for assets: ", missingRates)
return nil

return err
},
}

Expand Down

0 comments on commit cddbebe

Please sign in to comment.