mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
fix object lock metadata filter (#20011)
This commit is contained in:
@@ -572,6 +572,7 @@ func FilterObjectLockMetadata(metadata map[string]string, filterRetention, filte
|
||||
dst := metadata
|
||||
var copied bool
|
||||
delKey := func(key string) {
|
||||
key = strings.ToLower(key)
|
||||
if _, ok := metadata[key]; !ok {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user