fix return

This commit is contained in:
Lapshin Vitaliy 2022-06-28 18:24:03 +03:00
parent e969370913
commit 606252472c

View file

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