"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
swift: Allow configs with user id instead of user name
Nick Craig-Wood4a1013f2de49
diff --git a/swift/swift.go b/swift/swift.goindex c4312ffb2..ad862ecac 100644--- a/swift/swift.go+++ b/swift/swift.go@@ -200,8 +200,8 @@ func swiftConnection(name string) (*swift.Connection, error) {return nil, errors.Wrap(err, "failed to read environment variables")}}- if c.UserName == "" {- return nil, errors.New("user not found")+ if c.UserName == "" && c.UserId == "" {+ return nil, errors.New("user name or user id not found")}if c.ApiKey == "" {return nil, errors.New("key not found")