mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
committed by
kannappanr
parent
ba0c7544ea
commit
7aaf01eb74
@@ -483,9 +483,6 @@ func (api objectAPIHandlers) CopyObjectHandler(w http.ResponseWriter, r *http.Re
|
||||
srcInfo.UserDefined[k] = v
|
||||
}
|
||||
|
||||
// Make sure to remove saved etag if any, CopyObject calculates a new one.
|
||||
delete(srcInfo.UserDefined, "etag")
|
||||
|
||||
// Check if x-amz-metadata-directive was not set to REPLACE and source,
|
||||
// desination are same objects. Apply this restriction also when
|
||||
// metadataOnly is true indicating that we are not overwriting the object.
|
||||
|
||||
Reference in New Issue
Block a user