forked from TrueCloudLab/frostfs-node
[#787] morph: Return VUB from Invoke
method
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
5466e88444
commit
518f3baf41
25 changed files with 69 additions and 48 deletions
|
@ -43,7 +43,8 @@ func (x *Client) Cheque(p ChequePrm) error {
|
|||
prm.SetArgs(p.id, p.user, p.amount, p.lock)
|
||||
prm.InvokePrmOptional = p.InvokePrmOptional
|
||||
|
||||
return x.client.Invoke(prm)
|
||||
_, err := x.client.Invoke(prm)
|
||||
return err
|
||||
}
|
||||
|
||||
// AlphabetUpdatePrm groups parameters of AlphabetUpdate operation.
|
||||
|
@ -71,5 +72,6 @@ func (x *Client) AlphabetUpdate(p AlphabetUpdatePrm) error {
|
|||
prm.SetArgs(p.id, p.pubs)
|
||||
prm.InvokePrmOptional = p.InvokePrmOptional
|
||||
|
||||
return x.client.Invoke(prm)
|
||||
_, err := x.client.Invoke(prm)
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue