forked from TrueCloudLab/frostfs-s3-gw
[#196] Add DeleteObjectTagging
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
4a2575fbf3
commit
16da1aba64
6 changed files with 53 additions and 8 deletions
|
@ -47,7 +47,7 @@ func (h *handler) HeadObjectHandler(w http.ResponseWriter, r *http.Request) {
|
|||
h.logAndSendError(w, "could not fetch object info", reqInfo, err)
|
||||
return
|
||||
}
|
||||
tagSet, err := h.obj.GetObjectTagging(r.Context(), inf)
|
||||
tagSet, err := h.obj.GetObjectTagging(r.Context(), info)
|
||||
if err != nil && !errors.IsS3Error(err, errors.ErrNoSuchKey) {
|
||||
h.logAndSendError(w, "could not get object tag set", reqInfo, err)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue