diff --git a/pkg/storage/errors.go b/pkg/storage/errors.go index a4d134ac9..f73d47aed 100644 --- a/pkg/storage/errors.go +++ b/pkg/storage/errors.go @@ -166,5 +166,5 @@ func NewInternalError(reason string) InternalError { } func NewInternalErrorf(format string, a ...interface{}) InternalError { - return InternalError{fmt.Sprintf(format, a)} + return InternalError{fmt.Sprintf(format, a...)} }