mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
erasure: Set fi.IsLatest when adding a new version (#13277)
This commit is contained in:
committed by
GitHub
parent
19ecdc75a8
commit
31d7cc2cd4
@@ -950,6 +950,9 @@ func (er erasureObjects) CompleteMultipartUpload(ctx context.Context, bucket str
|
||||
}
|
||||
}
|
||||
|
||||
// we are adding a new version to this object under the namespace lock, so this is the latest version.
|
||||
fi.IsLatest = true
|
||||
|
||||
// Success, return object info.
|
||||
return fi.ToObjectInfo(bucket, object), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user