"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
netstorage: ignore false positive from the staticcheck linter regarding header name not being canonical
albertony78deab05f9e7
diff --git a/backend/netstorage/netstorage.go b/backend/netstorage/netstorage.goindex 20a6401ab..40db98501 100755--- a/backend/netstorage/netstorage.go+++ b/backend/netstorage/netstorage.go@@ -819,6 +819,8 @@ func (f *Fs) getAuth(req *http.Request) error {// Set Authorization headerdataHeader := generateDataHeader(f)path := req.URL.RequestURI()+ //lint:ignore SA1008 false positive when running staticcheck, the header name is according to docs even if not canonical+ //nolint:staticcheck // Don't include staticcheck when running golangci-lint to avoid SA1008actionHeader := req.Header["X-Akamai-ACS-Action"][0]fs.Debugf(nil, "NetStorage API %s call %s for path %q", req.Method, actionHeader, path)req.Header.Set("X-Akamai-ACS-Auth-Data", dataHeader)