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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
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.ExtVersionIdKey) |
|
|
delete(metadata, s3_constants.ExtDeleteMarkerKey) |
|
|
delete(metadata, s3_constants.ExtDeleteMarkerKey) |
|
|
delete(metadata, s3_constants.ExtIsLatestKey) |
|
|
delete(metadata, s3_constants.ExtIsLatestKey) |
|
|
|
|
|
delete(metadata, s3_constants.ExtETagKey) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// shouldCreateVersionForCopy determines whether a version should be created during a copy operation
|
|
|
// shouldCreateVersionForCopy determines whether a version should be created during a copy operation
|
|
|
|