From 61b2e3f9a2ae1aa2d797ca5aa42cb429968488fb Mon Sep 17 00:00:00 2001 From: Lapshin Vitaliy Date: Tue, 28 Jun 2022 18:31:46 +0300 Subject: [PATCH] fix return --- weed/s3api/s3api_object_tagging_handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/weed/s3api/s3api_object_tagging_handlers.go b/weed/s3api/s3api_object_tagging_handlers.go index 8e1993584..1791d7dc8 100644 --- a/weed/s3api/s3api_object_tagging_handlers.go +++ b/weed/s3api/s3api_object_tagging_handlers.go @@ -66,6 +66,7 @@ func (s3a *S3ApiServer) PutObjectTaggingHandler(w http.ResponseWriter, r *http.R if err != nil { glog.Errorf("PutObjectTaggingHandler ValidateTags error %s: %v", r.URL, err) s3err.WriteErrorResponse(w, r, s3err.ErrInvalidTag) + return } if err = s3a.setTags(dir, name, tagging.ToTags()); err != nil {