b2: fix multi-thread upload with copyto going to wrong name

See: https://forum.rclone.org/t/errors-and-failure-with-big-file-upload-to-b2/42522/
This commit is contained in:
Nick Craig-Wood
2023-10-28 15:18:00 +01:00
parent 0180301b3f
commit bf21db0ac4
+1 -1
View File
@@ -2079,7 +2079,7 @@ func (f *Fs) OpenChunkWriter(ctx context.Context, remote string, src fs.ObjectIn
// Temporary Object under construction
o := &Object{
fs: f,
remote: src.Remote(),
remote: remote,
}
bucket, _ := o.split()