Fix formatting args

This commit is contained in:
Manuel de Brito Fontes 2018-08-25 10:56:46 -03:00 committed by Manuel Alejandro de Brito Fontes
parent cd9d2aae65
commit db947e344e
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
2 changed files with 2 additions and 2 deletions

View file

@ -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...)
}