forked from TrueCloudLab/frostfs-node
[#425] Adapt the Client's refactoring to the interface
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
b62a2a0f54
commit
383d2494eb
9 changed files with 12 additions and 12 deletions
|
@ -193,7 +193,7 @@ func init() {
|
|||
// objectCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
|
||||
}
|
||||
|
||||
func initSession(ctx context.Context) (*client.Client, *token.SessionToken, error) {
|
||||
func initSession(ctx context.Context) (client.Client, *token.SessionToken, error) {
|
||||
cli, err := getSDKClient()
|
||||
if err != nil {
|
||||
return nil, nil, fmt.Errorf("can't create client: %w", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue