"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
Fix repeated error messages after pkg/errors removal
Nick Craig-Woodba6730720d74
diff --git a/backend/cache/cache.go b/backend/cache/cache.goindex 50dd5ce38..1f1ab7c53 100644--- a/backend/cache/cache.go+++ b/backend/cache/cache.go@@ -489,7 +489,7 @@ func NewFs(ctx context.Context, name, rootPath string, m configmap.Mapper) (fs.Ff.opt.TempWritePath = filepath.ToSlash(f.opt.TempWritePath)f.tempFs, err = cache.Get(ctx, f.opt.TempWritePath)if err != nil {- return nil, fmt.Errorf("failed to create temp fs: %v: %w", err, err)+ return nil, fmt.Errorf("failed to create temp fs: %w", err)}fs.Infof(name, "Upload Temp Rest Time: %v", f.opt.TempWaitTime)fs.Infof(name, "Upload Temp FS: %v", f.opt.TempWritePath)diff --git a/fs/operations/operations.go b/fs/operations/operations.goindex 2bdbb91c0..bc5832b59 100644--- a/fs/operations/operations.go+++ b/fs/operations/operations.go@@ -1006,7 +1006,7 @@ func hashSum(ctx context.Context, ht hash.Type, base64Encoded bool, downloadFlagreturn "", fmt.Errorf("hash unsupported: %w", err)}if err != nil {- return "", fmt.Errorf("failed to get hash %v from backend: %v: %w", ht, err, err)+ return "", fmt.Errorf("failed to get hash %v from backend: %w", ht, err)}}