Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

fix compilation

chrislua1816d21e988
diff --git a/weed/storage/backend/rclone_backend/rclone_backend.go b/weed/storage/backend/rclone_backend/rclone_backend.go
index 2120d549a6..e47c2f908d 100644
--- a/weed/storage/backend/rclone_backend/rclone_backend.go
+++ b/weed/storage/backend/rclone_backend/rclone_backend.go
@@ -202,7 +202,7 @@ func downloadViaRclone(fs fs.Fs, filename string, key string, fn func(progressed
}
}(file)
- tr := accounting.NewStats(ctx).NewTransfer(obj)
+ tr := accounting.NewStats(ctx).NewTransfer(obj, fs)
defer tr.Done(ctx, err)
acc := tr.Account(ctx, rc)
pr := ProgressReader{acc: acc, tr: tr, fn: fn}