Skip to content

Commit

Permalink
Fix arg for Go 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Nov 4, 2018
1 parent ef7b822 commit 5b70f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/errors.go
Expand Up @@ -58,7 +58,7 @@ func (e *HTTPError) WithInternalError(err error) *HTTPError {

// WithInternalMessage adds internal message information to the error
func (e *HTTPError) WithInternalMessage(fmtString string, args ...interface{}) *HTTPError {
e.InternalMessage = fmt.Sprintf(fmtString, args)
e.InternalMessage = fmt.Sprintf(fmtString, args...)
return e
}

Expand Down

0 comments on commit 5b70f79

Please sign in to comment.