"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
operations: use correct src/dst in some log messages
zzr93060c8dfff092
diff --git a/fs/operations/operations.go b/fs/operations/operations.goindex 1ea41853f..e00a20a9e 100644--- a/fs/operations/operations.go+++ b/fs/operations/operations.go@@ -89,7 +89,7 @@ func checkHashes(ctx context.Context, src fs.ObjectInfo, dst fs.Object, ht hash.return dstErr}if dstHash == "" {- fs.Debugf(src, "Dst hash empty - aborting Src hash check")+ fs.Debugf(dst, "Dst hash empty - aborting Src hash check")return errNoHash}return nil@@ -100,11 +100,11 @@ func checkHashes(ctx context.Context, src fs.ObjectInfo, dst fs.Object, ht hash.}if srcErr != nil {err = fs.CountError(srcErr)- fs.Errorf(dst, "Failed to calculate src hash: %v", err)+ fs.Errorf(src, "Failed to calculate src hash: %v", err)}if dstErr != nil {err = fs.CountError(dstErr)- fs.Errorf(src, "Failed to calculate dst hash: %v", err)+ fs.Errorf(dst, "Failed to calculate dst hash: %v", err)}if err != nil {return false, ht, srcHash, dstHash, err