"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
drive: fix about (and df on a mount) for team drives - fixes #2288
Nick Craig-Woodfe25cb9c54be
diff --git a/backend/drive/drive.go b/backend/drive/drive.goindex 14b24da27..b98bde6c0 100644--- a/backend/drive/drive.go+++ b/backend/drive/drive.go@@ -1057,6 +1057,10 @@ func (f *Fs) CleanUp() error {// About gets quota informationfunc (f *Fs) About() (*fs.Usage, error) {+ if f.isTeamDrive {+ // Teamdrives don't appear to have a usage API so just return empty+ return &fs.Usage{}, nil+ }var about *drive.Aboutvar err errorerr = f.pacer.Call(func() (bool, error) {