Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

fs: fix Don't know how to set key "chunkSize" on upload errors in tests

Nick Craig-Wood8b4b59412df4
diff --git a/fs/open_options.go b/fs/open_options.go
index cbcd98cb7..cb48a930e 100644
--- a/fs/open_options.go
+++ b/fs/open_options.go
@@ -293,7 +293,7 @@ type ChunkOption struct {
// Header formats the option as an http header
func (o *ChunkOption) Header() (key string, value string) {
- return "chunkSize", fmt.Sprintf("%v", o.ChunkSize)
+ return "", ""
}
// Mandatory returns whether the option must be parsed or can be ignored