Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

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

albertony432eb748141f
diff --git a/lib/oauthutil/oauthutil.go b/lib/oauthutil/oauthutil.go
index 80fe41b82..470270795 100644
--- a/lib/oauthutil/oauthutil.go
+++ b/lib/oauthutil/oauthutil.go
@@ -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: