[#193] pkg/client: Fix error message typos

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-11-12 09:40:45 +03:00 committed by Alex Vanin
parent d442b204ca
commit 874a4b937f
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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