"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
Don't de-reference swift connection
Klaus Post02c11dd4a70c
diff --git a/swift/swift.go b/swift/swift.goindex 03016a832..bc07e1250 100644--- a/swift/swift.go+++ b/swift/swift.go@@ -79,11 +79,11 @@ func init() {// Fs represents a remote swift servertype Fs struct {- name string // name of this remote- c swift.Connection // the connection to the swift server- container string // the container we are working on- segmentsContainer string // container to store the segments (if any) in- root string // the path we are working on if any+ name string // name of this remote+ c *swift.Connection // the connection to the swift server+ container string // the container we are working on+ segmentsContainer string // container to store the segments (if any) in+ root string // the path we are working on if any}// Object describes a swift object@@ -175,7 +175,7 @@ func NewFsWithConnection(name, root string, c *swift.Connection) (fs.Fs, error)}f := &Fs{name: name,- c: *c,+ c: c,container: container,segmentsContainer: container + "_segments",root: directory,