Skip to content

Commit

Permalink
fix: wording when metrics are not yet available
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Dec 14, 2023
1 parent 50fe4ca commit 02ccfe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/cmd/loadbalancer/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ var MetricsCmd = base.Cmd{
sort.Strings(keys)
for _, k := range keys {
if len(m.TimeSeries[k]) == 0 {
cmd.Printf("Currently there are now metrics available. Please try it again later.")
cmd.Printf("Currently there are no metrics available. Please try it again later.")
return nil
}
cmd.Printf("Load Balancer: %s \t Metric: %s \t Start: %s \t End: %s\n", LoadBalancer.Name, k, m.Start.String(), m.End.String())
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/server/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ var MetricsCmd = base.Cmd{
sort.Strings(keys)
for _, k := range keys {
if len(m.TimeSeries[k]) == 0 {
cmd.Printf("Currently there are now metrics available. Please try it again later.")
cmd.Printf("Currently there are no metrics available. Please try it again later.")
return nil
}
cmd.Printf("Server: %s \t Metric: %s \t Start: %s \t End: %s\n", server.Name, k, m.Start.String(), m.End.String())
Expand Down

0 comments on commit 02ccfe8

Please sign in to comment.