forked from TrueCloudLab/frostfs-node
[#247] object/range: Process only object_id and container_id headers
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
8654458b19
commit
dba88c79b4
1 changed files with 1 additions and 2 deletions
|
@ -94,8 +94,7 @@ func (h *headerSource) objectHeaders() ([]eacl.Header, bool) {
|
||||||
case *objectV2.HeadRequest:
|
case *objectV2.HeadRequest:
|
||||||
return h.localObjectHeaders(req.GetBody().GetAddress())
|
return h.localObjectHeaders(req.GetBody().GetAddress())
|
||||||
case *objectV2.GetRangeRequest:
|
case *objectV2.GetRangeRequest:
|
||||||
hs, _ := h.localObjectHeaders(req.GetBody().GetAddress())
|
return addressHeaders(objectSDK.NewAddressFromV2(req.GetBody().GetAddress())), true
|
||||||
return hs, true
|
|
||||||
case *objectV2.GetRangeHashRequest:
|
case *objectV2.GetRangeHashRequest:
|
||||||
hs, _ := h.localObjectHeaders(req.GetBody().GetAddress())
|
hs, _ := h.localObjectHeaders(req.GetBody().GetAddress())
|
||||||
return hs, true
|
return hs, true
|
||||||
|
|
Loading…
Reference in a new issue