in pkg/formatter/text_template_utils.go [242:254]
func formatTopologyInfo(clusterInfo models.ElasticsearchClusterInfo) string {
var format = "%s\t%d"
var plan = getESCurrentOrPendingPlan(clusterInfo)
if len(plan.Plan.ClusterTopology) == 0 {
return fmt.Sprintf(format, "-", 0)
}
return fmt.Sprintf(
format,
formatClusterBytes(plan.Plan.ClusterTopology[0].MemoryPerNode, true),
plan.Plan.ClusterTopology[0].ZoneCount,
)
}