Fix formatting args
This commit is contained in:
parent
cd9d2aae65
commit
db947e344e
2 changed files with 2 additions and 2 deletions
|
|
@ -92,5 +92,5 @@ func New(m string) error {
|
|||
// Errorf formats according to a format specifier and returns the string
|
||||
// as a value that satisfies error.
|
||||
func Errorf(format string, args ...interface{}) error {
|
||||
return errors.Errorf(format, args)
|
||||
return errors.Errorf(format, args...)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue