Display placeholder for non-master-eligible nodes.
This commit is contained in:
parent
455c92d27b
commit
28ecafac11
|
@ -180,7 +180,7 @@ public class RestNodesAction extends BaseRestHandler {
|
|||
table.addCell(stats == null ? null : stats.getOs() == null ? null : stats.getOs().getLoadAverage().length < 1 ? null : stats.getOs().getLoadAverage()[0]);
|
||||
table.addCell(stats == null ? null : stats.getJvm().uptime());
|
||||
table.addCell(node.clientNode() ? "c" : node.dataNode() ? "d" : null);
|
||||
table.addCell(masterId.equals(node.id()) ? "*" : node.masterNode() ? "m" : null);
|
||||
table.addCell(masterId.equals(node.id()) ? "*" : node.masterNode() ? "m" : "-");
|
||||
table.addCell(node.name());
|
||||
|
||||
table.endRow();
|
||||
|
|
Loading…
Reference in New Issue