forked from TrueCloudLab/frostfs-node
[#1379] neofs-cli: Move client creation to internal/client
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
cbc4ca800d
commit
a198a4858c
4 changed files with 19 additions and 34 deletions
|
@ -337,7 +337,7 @@ func prepareSessionPrmWithOwner(
|
|||
ownerID *owner.ID,
|
||||
prms ...clientKeySession,
|
||||
) {
|
||||
cli, err := getSDKClient(key)
|
||||
cli, err := internalclient.GetSDKClientByFlag(key, commonflags.RPC)
|
||||
exitOnErr(cmd, errf("create API client: %w", err))
|
||||
|
||||
var sessionToken *session.Token
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue