feat: simplify a bit (#3905)

This commit is contained in:
famosss authored and GitHub committed 2022-10-24 17:58:26 -07:00
1 parent 25e012d30b
commit 874fd197b5
1 file changed
-1
-1
View File
@@ -420,7 +420,6 @@ func setUserMetadataKeyToLowercase(resp *http.Response) {
if strings.HasPrefix(key, s3_constants.AmzUserMetaPrefix) {
resp.Header[strings.ToLower(key)] = value
delete(resp.Header,key)
continue
}
}
}