Browse Source

Update weed/s3api/s3api_object_handlers_copy.go

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
pull/7548/head
Chris Lu 1 week ago
committed by GitHub
parent
commit
5ffe627027
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      weed/s3api/s3api_object_handlers_copy.go

1
weed/s3api/s3api_object_handlers_copy.go

@ -2338,6 +2338,7 @@ func cleanupVersioningMetadata(metadata map[string][]byte) {
delete(metadata, s3_constants.ExtVersionIdKey)
delete(metadata, s3_constants.ExtDeleteMarkerKey)
delete(metadata, s3_constants.ExtIsLatestKey)
delete(metadata, s3_constants.ExtETagKey)
}
// shouldCreateVersionForCopy determines whether a version should be created during a copy operation

Loading…
Cancel
Save