Browse Source

Update weed/s3api/s3api_object_handlers_copy_test.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
87909afab3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 5
      weed/s3api/s3api_object_handlers_copy_test.go

5
weed/s3api/s3api_object_handlers_copy_test.go

@ -613,10 +613,7 @@ func TestCopyVersioningIntegration(t *testing.T) {
}
// Test metadata cleanup using production function
metadata := make(map[string][]byte)
for k, v := range tc.sourceMetadata {
metadata[k] = v
}
metadata := maps.Clone(tc.sourceMetadata)
if !shouldCreateVersion {
cleanupVersioningMetadata(metadata)

Loading…
Cancel
Save