diff --git a/storage/copy.go b/storage/copy.go index 60ed81391e6b..05d211a3a639 100644 --- a/storage/copy.go +++ b/storage/copy.go @@ -127,6 +127,7 @@ func (c *Copier) Run(ctx context.Context) (attrs *ObjectAttrs, err error) { return nil, err } c.RewriteToken = res.token + req.token = res.token if c.ProgressFunc != nil { c.ProgressFunc(uint64(res.written), uint64(res.size)) }