mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-05 20:52:50 +08:00
fix compilation
This commit is contained in:
parent
359b00596f
commit
a1816d21e9
@ -202,7 +202,7 @@ func downloadViaRclone(fs fs.Fs, filename string, key string, fn func(progressed
|
|||||||
}
|
}
|
||||||
}(file)
|
}(file)
|
||||||
|
|
||||||
tr := accounting.NewStats(ctx).NewTransfer(obj)
|
tr := accounting.NewStats(ctx).NewTransfer(obj, fs)
|
||||||
defer tr.Done(ctx, err)
|
defer tr.Done(ctx, err)
|
||||||
acc := tr.Account(ctx, rc)
|
acc := tr.Account(ctx, rc)
|
||||||
pr := ProgressReader{acc: acc, tr: tr, fn: fn}
|
pr := ProgressReader{acc: acc, tr: tr, fn: fn}
|
||||||
|
Loading…
Reference in New Issue
Block a user