From 874a4b937f94539648f5df57fcfbc5a267c5cfb6 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Thu, 12 Nov 2020 09:40:45 +0300 Subject: [PATCH] [#193] pkg/client: Fix error message typos Signed-off-by: Alex Vanin --- pkg/client/container.go | 2 +- pkg/client/netmap.go | 2 +- pkg/client/session.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/client/container.go b/pkg/client/container.go index e0e5a378..a4bc942c 100644 --- a/pkg/client/container.go +++ b/pkg/client/container.go @@ -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 diff --git a/pkg/client/netmap.go b/pkg/client/netmap.go index 869b91c5..ea71b057 100644 --- a/pkg/client/netmap.go +++ b/pkg/client/netmap.go @@ -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 diff --git a/pkg/client/session.go b/pkg/client/session.go index 7f9d6a06..51d08ce3 100644 --- a/pkg/client/session.go +++ b/pkg/client/session.go @@ -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