[#193] pkg/client: Fix error message typos
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
d442b204ca
commit
874a4b937f
3 changed files with 3 additions and 3 deletions
|
@ -431,7 +431,7 @@ func v2ContainerClientFromOptions(opts *clientOptions) (cli *v2container.Client,
|
|||
)
|
||||
|
||||
default:
|
||||
return nil, errors.New("lack of sdk client options to create accounting client")
|
||||
return nil, errors.New("lack of sdk client options to create container client")
|
||||
}
|
||||
|
||||
// check if client correct and save in cache
|
||||
|
|
|
@ -100,7 +100,7 @@ func v2NetmapClientFromOptions(opts *clientOptions) (cli *v2netmap.Client, err e
|
|||
)
|
||||
|
||||
default:
|
||||
return nil, errors.New("lack of sdk client options to create accounting client")
|
||||
return nil, errors.New("lack of sdk client options to create netmap client")
|
||||
}
|
||||
|
||||
// check if client correct and save in cache
|
||||
|
|
|
@ -98,7 +98,7 @@ func v2SessionClientFromOptions(opts *clientOptions) (cli *v2session.Client, err
|
|||
)
|
||||
|
||||
default:
|
||||
return nil, errors.New("lack of sdk client options to create accounting client")
|
||||
return nil, errors.New("lack of sdk client options to create session client")
|
||||
}
|
||||
|
||||
// check if client correct and save in cache
|
||||
|
|
Loading…
Reference in a new issue