aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfamosss <zzq09494@ly.com>2022-10-25 08:58:26 +0800
committerGitHub <noreply@github.com>2022-10-24 17:58:26 -0700
commit874fd197b5a90dead832b39a39fc3a3f91c5281f (patch)
tree4f1edfc1c510791271d5a2e3385814063a14f7e6
parent25e012d30b3746015e2c41a2137ef8522dec8d12 (diff)
downloadseaweedfs-874fd197b5a90dead832b39a39fc3a3f91c5281f.tar.xz
seaweedfs-874fd197b5a90dead832b39a39fc3a3f91c5281f.zip
feat: simplify a bit (#3905)
-rw-r--r--weed/s3api/s3api_object_handlers.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/s3api/s3api_object_handlers.go b/weed/s3api/s3api_object_handlers.go
index 37851b147..822b04b24 100644
--- a/weed/s3api/s3api_object_handlers.go
+++ b/weed/s3api/s3api_object_handlers.go
@@ -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
}
}
}