[#452] Remove unused

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2022-05-31 12:10:59 +03:00 committed by Alex Vanin
parent 9fb3fb1274
commit 1a456eaa8b
12 changed files with 4 additions and 647 deletions

View file

@ -115,7 +115,7 @@ func writeAttributesHeaders(h http.Header, info *data.ObjectInfo, params *GetObj
h.Set(api.AmzVersionID, info.Version())
}
if _, ok := info.Headers[layer.VersionsDeleteMarkAttr]; ok {
if info.IsDeleteMarker {
h.Set(api.AmzDeleteMarker, strconv.FormatBool(true))
}