forked from TrueCloudLab/frostfs-node
[#1101] *: Adopt interface changes of API client from SDK library
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
674f520da7
commit
4f3323f084
14 changed files with 94 additions and 246 deletions
|
@ -50,7 +50,7 @@ var accountingBalanceCmd = &cobra.Command{
|
|||
var prm internalclient.BalanceOfPrm
|
||||
|
||||
prepareAPIClientWithKey(cmd, key, &prm)
|
||||
prm.SetOwner(oid)
|
||||
prm.SetAccount(*oid)
|
||||
|
||||
res, err := internalclient.BalanceOf(prm)
|
||||
exitOnErr(cmd, errf("rpc error: %w", err))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue