From 05e9fd6e156b6e2a5f32d2f6f1dbbb810d6d4463 Mon Sep 17 00:00:00 2001 From: Mihail Stoykov <312246+mstoykov@users.noreply.github.com> Date: Mon, 2 Sep 2024 19:27:01 +0300 Subject: [PATCH] Update usage/usage.go Co-authored-by: Oleg Bespalov --- usage/usage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usage/usage.go b/usage/usage.go index 45a0fc9a996..36513f1a818 100644 --- a/usage/usage.go +++ b/usage/usage.go @@ -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