forked from TrueCloudLab/frostfs-node
[#168] cmd/cli: Print netmap in JSON format
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
36d8e2d3b7
commit
8d81954afe
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ func prettyPrintNodeInfo(i *netmap.NodeInfo, jsonEncoding bool) {
|
|||
|
||||
func prettyPrintNetmap(nm *control.Netmap, jsonEncoding bool) {
|
||||
if jsonEncoding {
|
||||
fmt.Println("JSON encoding is not implemented")
|
||||
printJSONMarshaler(nm, "netmap")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue