forked from TrueCloudLab/frostfs-node
[#950] neofs-cli: Attach x-headers in object range
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
1f911830a5
commit
378474b02c
1 changed files with 2 additions and 2 deletions
|
@ -604,11 +604,11 @@ func PayloadRange(prm PayloadRangePrm) (res PayloadRangeRes, err error) {
|
||||||
cliPrm.WithDataWriter(prm.wrt)
|
cliPrm.WithDataWriter(prm.wrt)
|
||||||
cliPrm.WithRange(prm.rng)
|
cliPrm.WithRange(prm.rng)
|
||||||
|
|
||||||
_, err = prm.cli.ObjectPayloadRangeData(context.Background(), &cliPrm,
|
_, err = prm.cli.ObjectPayloadRangeData(context.Background(), &cliPrm, append(prm.opts,
|
||||||
client.WithKey(prm.privKey),
|
client.WithKey(prm.privKey),
|
||||||
client.WithSession(prm.sessionToken),
|
client.WithSession(prm.sessionToken),
|
||||||
client.WithBearer(prm.bearerToken),
|
client.WithBearer(prm.bearerToken),
|
||||||
)
|
)...)
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue