mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 08:23:47 +01:00
lib: avoid unnecessary use of fmt.Sprintf for string constant
This commit is contained in:
parent
92fb644fb6
commit
432eb74814
@ -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 New Issue
Block a user