lib: avoid unnecessary use of fmt.Sprintf for string constant
This commit is contained in:
parent
92fb644fb6
commit
432eb74814
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ func maybeWrapOAuthError(err error, remoteName string) (newErr error) {
|
|||
var suggestion string
|
||||
switch resp.Error {
|
||||
case "invalid_client", "unauthorized_client", "unsupported_grant_type", "invalid_scope":
|
||||
suggestion = fmt.Sprintf("if you're using your own client id/secret, make sure they're properly set up following the docs")
|
||||
suggestion = "if you're using your own client id/secret, make sure they're properly set up following the docs"
|
||||
case "invalid_grant":
|
||||
fallthrough
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue