"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
fs: fix bwlimit: use %d instead of %q for ints
Mikel Olasagasti Uranga2e9e4a47a2a8
diff --git a/fs/bwtimetable.go b/fs/bwtimetable.goindex 0f7597d11..52e84d3cb 100644--- a/fs/bwtimetable.go+++ b/fs/bwtimetable.go@@ -90,14 +90,14 @@ func validateHour(HHMM string) error {return fmt.Errorf("invalid hour in time specification %q: %v", HHMM, err)}if hh < 0 || hh > 23 {- return fmt.Errorf("invalid hour (must be between 00 and 23): %q", hh)+ return fmt.Errorf("invalid hour (must be between 00 and 23): %d", hh)}mm, err := strconv.Atoi(HHMM[3:])if err != nil {return fmt.Errorf("invalid minute in time specification: %q: %v", HHMM, err)}if mm < 0 || mm > 59 {- return fmt.Errorf("invalid minute (must be between 00 and 59): %q", hh)+ return fmt.Errorf("invalid minute (must be between 00 and 59): %d", hh)}return nil}