forked from TrueCloudLab/frostfs-node
[#1558] morph/client: Remove "could not"/"can't"/"failed to" from error messages
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
91d9dc2676
commit
7151c71d51
19 changed files with 55 additions and 55 deletions
|
@ -107,7 +107,7 @@ func (c *Client) NNSHash() (util.Uint160, error) {
|
|||
func nnsResolveItem(c *rpcclient.WSClient, nnsHash util.Uint160, domain string) (stackitem.Item, error) {
|
||||
found, err := exists(c, nnsHash, domain)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("could not check presence in NNS contract for %s: %w", domain, err)
|
||||
return nil, fmt.Errorf("check presence in NNS contract for %s: %w", domain, err)
|
||||
}
|
||||
|
||||
if !found {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue