forked from TrueCloudLab/frostfs-node
[#243] services/object: Fix lost tokens when generating requests
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
09916f21b5
commit
9265e31e65
6 changed files with 47 additions and 22 deletions
|
@ -13,6 +13,8 @@ type Prm struct {
|
|||
|
||||
common *util.CommonPrm
|
||||
|
||||
callOpts []client.CallOption
|
||||
|
||||
client.DeleteObjectParams
|
||||
}
|
||||
|
||||
|
@ -25,3 +27,8 @@ func (p *Prm) SetCommonParameters(common *util.CommonPrm) {
|
|||
func (p *Prm) SetPrivateKey(key *ecdsa.PrivateKey) {
|
||||
p.key = key
|
||||
}
|
||||
|
||||
// SetRemoteCallOptions sets call options of remote client calls.
|
||||
func (p *Prm) SetRemoteCallOptions(opts ...client.CallOption) {
|
||||
p.callOpts = opts
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue