do not save MTime in newMultipartUpload() to avoid side-affects (#17340)

This commit is contained in:
Harshavardhana
2023-06-02 14:38:09 -07:00
committed by GitHub
parent 68f80b5fe7
commit b210ea79bc
3 changed files with 3 additions and 3 deletions

View File

@@ -716,7 +716,6 @@ func (z *erasureServerPools) rebalanceObject(ctx context.Context, bucket string,
if oi.isMultipart() {
res, err := z.NewMultipartUpload(ctx, bucket, oi.Name, ObjectOptions{
VersionID: oi.VersionID,
MTime: oi.ModTime,
UserDefined: oi.UserDefined,
})
if err != nil {