forked from TrueCloudLab/frostfs-node
[#425] cli: Support latest changes from API library
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
e6cde0ab28
commit
6204ca8308
5 changed files with 43 additions and 50 deletions
|
@ -177,7 +177,7 @@ func getSDKClient() (*client.Client, error) {
|
|||
return nil, errInvalidEndpoint
|
||||
}
|
||||
|
||||
return client.New(key, client.WithAddress(ipAddr))
|
||||
return client.New(client.WithAddress(ipAddr), client.WithDefaultPrivateKey(key))
|
||||
}
|
||||
|
||||
func getTTL() uint32 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue