"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
lib/oauthutil: replace deprecated oauth2.NoContext
Lars Lehtonenf1d9bd5eabf4
diff --git a/lib/oauthutil/oauthutil.go b/lib/oauthutil/oauthutil.goindex a4f5acde8..8a07e1c71 100644--- a/lib/oauthutil/oauthutil.go+++ b/lib/oauthutil/oauthutil.go@@ -503,7 +503,7 @@ func doConfig(id, name string, m configmap.Mapper, oauthConfig *oauth2.Config, o}// Exchange the code for a token- token, err := oauthConfig.Exchange(oauth2.NoContext, auth.Code)+ token, err := oauthConfig.Exchange(context.Background(), auth.Code)if err != nil {return errors.Wrap(err, "failed to get token")}