lib: avoid unnecessary use of fmt.Sprintf for string constant

This commit is contained in:
albertony 2023-03-25 23:28:27 +01:00
parent 92fb644fb6
commit 432eb74814

View File

@ -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: