[#1086] neofs-cli: add command for shard dump

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-01-24 15:22:47 +03:00 committed by Alex Vanin
parent 0e60b1d6c9
commit 2ec4a3c897
3 changed files with 79 additions and 1 deletions

View file

@ -148,7 +148,7 @@ func SetShardMode(
// DumpShard executes ControlService.DumpShard RPC.
func DumpShard(cli *client.Client, req *DumpShardRequest, opts ...client.CallOption) (*DumpShardResponse, error) {
wResp := new(dumpShardResponseWrapper)
wResp := &dumpShardResponseWrapper{new(DumpShardResponse)}
wReq := &requestWrapper{m: req}
err := client.SendUnary(cli, common.CallMethodInfoUnary(serviceName, rpcDumpShard), wReq, wResp, opts...)