Browse Source

fix return

pull/3200/head
Lapshin Vitaliy 3 years ago
parent
commit
606252472c
  1. 1
      weed/s3api/s3api_object_copy_handlers.go

1
weed/s3api/s3api_object_copy_handlers.go

@ -49,6 +49,7 @@ func (s3a *S3ApiServer) CopyObjectHandler(w http.ResponseWriter, r *http.Request
if err != nil { if err != nil {
glog.Errorf("CopyObjectHandler ValidateTags error %s: %v", r.URL, err) glog.Errorf("CopyObjectHandler ValidateTags error %s: %v", r.URL, err)
s3err.WriteErrorResponse(w, r, s3err.ErrInvalidTag) s3err.WriteErrorResponse(w, r, s3err.ErrInvalidTag)
return
} }
err = s3a.touch(dir, name, entry) err = s3a.touch(dir, name, entry)
if err != nil { if err != nil {

Loading…
Cancel
Save