feat: simplify a bit (#3905)

This commit is contained in:
famosss
2022-10-25 08:58:26 +08:00
committed by GitHub
parent 25e012d30b
commit 874fd197b5

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
}
}
}