forked from TrueCloudLab/frostfs-node
[#235] object/head: Support raw flag in service
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
1d23483828
commit
397d912e19
5 changed files with 33 additions and 3 deletions
|
@ -74,7 +74,8 @@ func (h *RemoteHeader) Head(ctx context.Context, prm *RemoteHeadPrm) (*object.Ob
|
|||
}
|
||||
|
||||
p := new(client.ObjectHeaderParams).
|
||||
WithAddress(prm.commonHeadPrm.addr)
|
||||
WithAddress(prm.commonHeadPrm.addr).
|
||||
WithRawFlag(prm.commonHeadPrm.raw)
|
||||
|
||||
if prm.commonHeadPrm.short {
|
||||
p = p.WithMainFields()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue