"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
Add tenant parameter for swift - fixes #13
Nick Craig-Woodee6b39aa6cfa
diff --git a/swift/swift.go b/swift/swift.goindex da4c168ac..d93cb68f5 100644--- a/swift/swift.go+++ b/swift/swift.go@@ -44,6 +44,9 @@ func init() {Help: "Memset Memstore UK v2",Value: "https://auth.storage.memset.com/v2.0",}},+ }, {+ Name: "tenant",+ Help: "Tenant name - optional",},// snet = flag.Bool("swift-snet", false, "Use internal service network") // FIXME not implemented},@@ -111,6 +114,7 @@ func swiftConnection(name string) (*swift.Connection, error) {ApiKey: apiKey,AuthUrl: authUrl,UserAgent: fs.UserAgent,+ Tenant: fs.ConfigFile.MustValue(name, "tenant"),}err := c.Authenticate()if err != nil {