From 8d81954afe4ecb88df67a272cc6af24edba57df3 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Fri, 15 Jan 2021 10:48:15 +0300 Subject: [PATCH] [#168] cmd/cli: Print netmap in JSON format Signed-off-by: Leonard Lyubich --- cmd/neofs-cli/modules/netmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/neofs-cli/modules/netmap.go b/cmd/neofs-cli/modules/netmap.go index faf8675ab..343115c30 100644 --- a/cmd/neofs-cli/modules/netmap.go +++ b/cmd/neofs-cli/modules/netmap.go @@ -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 }