Skip to content

Commit

Permalink
fix multiple return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
darthnater007 committed Feb 7, 2020
1 parent c81c9cc commit 8cf2c54
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/status/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,7 @@ func toUnsortedList(s map[string]interface{}) string {

// mkHuman adds commas to large numbers to assist readability in status outputs
func mkHuman(f float64) string {
var str string
str = humanize.Commaf(f)

return str
return humanize.Commaf(f)
}

// mkHumanDuration makes time values more readable
Expand Down

0 comments on commit 8cf2c54

Please sign in to comment.