fix return

This commit is contained in:
Lapshin Vitaliy 2022-06-28 18:31:46 +03:00
parent 606252472c
commit 61b2e3f9a2

View file

@ -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 {