Skip to content

Commit

Permalink
Update usage/usage.go
Browse files Browse the repository at this point in the history
Co-authored-by: Oleg Bespalov <[email protected]>
  • Loading branch information
mstoykov and olegbespalov authored Sep 2, 2024
1 parent f0bde38 commit 05e9fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usage/usage.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (u *Usage) Uint64(k string, v uint64) error {
case uint64:
u.m[k] = oldVUint64 + v
default:
return fmt.Errorf("!value of key %s is not uint64 as expected but %T", k, oldV)
return fmt.Errorf("value of key %s is not uint64 as expected but %T", k, oldV)
// TODO: error, panic?, nothing, log?
}
return nil
Expand Down

0 comments on commit 05e9fd6

Please sign in to comment.