diff options
| author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2024-03-18 17:09:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-18 17:09:59 -0700 |
| commit | 359b00596f70f508060cb88f9ac7ab1d3f0e8331 (patch) | |
| tree | fa8bdecf2971c3e21cb8dc2cade9e8e6672a3d78 /weed/storage/backend/rclone_backend/rclone_backend.go | |
| parent | 7091269e65372bbc9f8b476dcbbeb4124ba6eb34 (diff) | |
| download | seaweedfs-359b00596f70f508060cb88f9ac7ab1d3f0e8331.tar.xz seaweedfs-359b00596f70f508060cb88f9ac7ab1d3f0e8331.zip | |
chore(deps): bump github.com/rclone/rclone from 1.65.2 to 1.66.0 (#5387)
* chore(deps): bump github.com/rclone/rclone from 1.65.2 to 1.66.0
Bumps [github.com/rclone/rclone](https://github.com/rclone/rclone) from 1.65.2 to 1.66.0.
- [Release notes](https://github.com/rclone/rclone/releases)
- [Changelog](https://github.com/rclone/rclone/blob/master/RELEASE.md)
- [Commits](https://github.com/rclone/rclone/compare/v1.65.2...v1.66.0)
---
updated-dependencies:
- dependency-name: github.com/rclone/rclone
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix compilation error with rclone update (#5395)
Fix compilation error
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Damiano Albani <damiano.albani@gmail.com>
Diffstat (limited to 'weed/storage/backend/rclone_backend/rclone_backend.go')
| -rw-r--r-- | weed/storage/backend/rclone_backend/rclone_backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/backend/rclone_backend/rclone_backend.go b/weed/storage/backend/rclone_backend/rclone_backend.go index c634db048..2120d549a 100644 --- a/weed/storage/backend/rclone_backend/rclone_backend.go +++ b/weed/storage/backend/rclone_backend/rclone_backend.go @@ -150,7 +150,7 @@ func uploadViaRclone(rfs fs.Fs, filename string, key string, fn func(progressed info := object.NewStaticObjectInfo(key, stat.ModTime(), stat.Size(), true, nil, rfs) - tr := accounting.NewStats(ctx).NewTransfer(info) + tr := accounting.NewStats(ctx).NewTransfer(info, rfs) defer tr.Done(ctx, err) acc := tr.Account(ctx, file) pr := ProgressReader{acc: acc, tr: tr, fn: fn} |
