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

google cloud storage: Fix compile after API change in "google.golang.org/api/storage/v1"

Nick Craig-Woodba81277bbe03
diff --git a/googlecloudstorage/googlecloudstorage.go b/googlecloudstorage/googlecloudstorage.go
index 4e6d3f9ac..1b06b5a93 100644
--- a/googlecloudstorage/googlecloudstorage.go
+++ b/googlecloudstorage/googlecloudstorage.go
@@ -42,7 +42,7 @@ const (
var (
// Description of how to auth for this app
storageAuth = &googleauth.Auth{
- Scope: storage.DevstorageFull_controlScope,
+ Scope: storage.DevstorageFullControlScope,
DefaultClientId: rcloneClientId,
DefaultClientSecret: rcloneClientSecret,
}