[#2145] cli: Do not print "rpc error:" twice
That error part is already included in GRPC's library. Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
This commit is contained in:
parent
b207dc424f
commit
a30310b2ca
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ var dropObjectsCmd = &cobra.Command{
|
||||||
resp, err = control.DropObjects(client, req)
|
resp, err = control.DropObjects(client, req)
|
||||||
return err
|
return err
|
||||||
})
|
})
|
||||||
common.ExitOnErr(cmd, "rpc error: %w", err)
|
common.ExitOnErr(cmd, "", err)
|
||||||
|
|
||||||
verifyResponse(cmd, resp.GetSignature(), resp.GetBody())
|
verifyResponse(cmd, resp.GetSignature(), resp.GetBody())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue