diff --git a/cmd/frostfs-cli/modules/netmap/netinfo.go b/cmd/frostfs-cli/modules/netmap/netinfo.go index 2dbd72355..3f260b5d9 100644 --- a/cmd/frostfs-cli/modules/netmap/netinfo.go +++ b/cmd/frostfs-cli/modules/netmap/netinfo.go @@ -50,8 +50,12 @@ var netInfoCmd = &cobra.Command{ cmd.Printf(format, "Maintenance mode allowed", netInfo.MaintenanceModeAllowed()) cmd.Println("FrostFS network configuration (other)") - netInfo.IterateRawNetworkParameters(func(name string, value []byte) { - cmd.Printf(format, name, hex.EncodeToString(value)) + netInfo.IterateRawNetworkParameters(func(name string, rawValue []byte) { + value := hex.EncodeToString(rawValue) + if value == "" { + value = `""` + } + cmd.Printf(format, name, value) }) }, }