forked from TrueCloudLab/frostfs-node
[#1086] neofs-cli: add command for shard dump
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
0e60b1d6c9
commit
2ec4a3c897
3 changed files with 79 additions and 1 deletions
|
@ -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...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue