"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
build: mask linter errors we can't fix
Nick Craig-Woodaa5c5ec5d3d6
diff --git a/backend/hubic/auth.go b/backend/hubic/auth.goindex c3196cdce..c437d31ce 100644--- a/backend/hubic/auth.go+++ b/backend/hubic/auth.go@@ -36,7 +36,7 @@ func (a *auth) Response(resp *http.Response) error {// The public storage URL - set Internal to true to read// internal/service net URL-func (a *auth) StorageUrl(Internal bool) string {+func (a *auth) StorageUrl(Internal bool) string { // nolintreturn a.f.credentials.Endpoint}@@ -46,7 +46,7 @@ func (a *auth) Token() string {}// The CDN url if available-func (a *auth) CdnUrl() string {+func (a *auth) CdnUrl() string { // nolintreturn ""}diff --git a/backend/swift/auth.go b/backend/swift/auth.goindex 8e222b271..b12cf4cae 100644--- a/backend/swift/auth.go+++ b/backend/swift/auth.go@@ -44,7 +44,7 @@ func (a *auth) Response(resp *http.Response) error {// The public storage URL - set Internal to true to read// internal/service net URL-func (a *auth) StorageUrl(Internal bool) string {+func (a *auth) StorageUrl(Internal bool) string { // nolintif a.storageURL != "" {return a.storageURL}@@ -66,7 +66,7 @@ func (a *auth) Token() string {}// The CDN url if available-func (a *auth) CdnUrl() string {+func (a *auth) CdnUrl() string { // nolintif a.parentAuth == nil {return ""}diff --git a/backend/swift/swift.go b/backend/swift/swift.goindex ec4e113c9..bd0dd1250 100644--- a/backend/swift/swift.go+++ b/backend/swift/swift.go@@ -221,7 +221,7 @@ func swiftConnection(name string) (*swift.Connection, error) {return nil, errors.Wrap(err, "failed to read environment variables")}}- StorageUrl, AuthToken := c.StorageUrl, c.AuthToken+ StorageUrl, AuthToken := c.StorageUrl, c.AuthToken // nolintif !c.Authenticated() {if c.UserName == "" && c.UserId == "" {return nil, errors.New("user name or user id not found for authentication (and no storage_url+auth_token is provided)")