From 85c5acc0881ca68145b961705b4c6d532d26f8b4 Mon Sep 17 00:00:00 2001 From: Kirill Motkov Date: Sun, 17 Mar 2019 08:44:43 +0300 Subject: [PATCH] fix staticcheck warning (#7378) --- cmd/gateway/oss/gateway-oss.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gateway/oss/gateway-oss.go b/cmd/gateway/oss/gateway-oss.go index 8271ce317..00eb178f0 100644 --- a/cmd/gateway/oss/gateway-oss.go +++ b/cmd/gateway/oss/gateway-oss.go @@ -182,7 +182,7 @@ func appendS3MetaToOSSOptions(ctx context.Context, opts []oss.Option, s3Metadata case k == "X-Amz-Acl": // Valid values: public-read, private, and public-read-write opts = append(opts, oss.ObjectACL(oss.ACLType(v))) - case k == "X-Amz-Server-Side​-Encryption": + case k == "X-Amz-Server-Side-Encryption": opts = append(opts, oss.ServerSideEncryption(v)) case k == "X-Amz-Copy-Source-If-Match": opts = append(opts, oss.CopySourceIfMatch(v))