Browse Source

fix return

pull/3200/head
Lapshin Vitaliy 3 years ago
parent
commit
61b2e3f9a2
  1. 1
      weed/s3api/s3api_object_tagging_handlers.go

1
weed/s3api/s3api_object_tagging_handlers.go

@ -66,6 +66,7 @@ func (s3a *S3ApiServer) PutObjectTaggingHandler(w http.ResponseWriter, r *http.R
if err != nil { if err != nil {
glog.Errorf("PutObjectTaggingHandler ValidateTags error %s: %v", r.URL, err) glog.Errorf("PutObjectTaggingHandler ValidateTags error %s: %v", r.URL, err)
s3err.WriteErrorResponse(w, r, s3err.ErrInvalidTag) s3err.WriteErrorResponse(w, r, s3err.ErrInvalidTag)
return
} }
if err = s3a.setTags(dir, name, tagging.ToTags()); err != nil { if err = s3a.setTags(dir, name, tagging.ToTags()); err != nil {

Loading…
Cancel
Save