"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
oauthutil: fix panic from use of nil context
Nick Craig-Woodedfa1b3a6950
diff --git a/oauthutil/oauthutil.go b/oauthutil/oauthutil.goindex a4ab71f74..5c5dfe3bf 100644--- a/oauthutil/oauthutil.go+++ b/oauthutil/oauthutil.go@@ -188,7 +188,7 @@ var _ oauth2.TokenSource = (*TokenSource)(nil)// Context returns a context with our HTTP Client baked in for oauth2func Context() context.Context {- return context.WithValue(nil, oauth2.HTTPClient, fs.Config.Client())+ return context.WithValue(context.Background(), oauth2.HTTPClient, fs.Config.Client())}// overrideCredentials sets the ClientID and ClientSecret from the