Node version sometimes empty in _cat/nodes

closes #5480
This commit is contained in:
Shay Banon 2014-05-07 18:07:56 +02:00
parent 7944369fd1
commit 743dc19acb
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ public class RestNodesAction extends AbstractCatAction {
table.addCell("-"); table.addCell("-");
} }
table.addCell(info == null ? null : info.getVersion().number()); table.addCell(node.getVersion().number());
table.addCell(info == null ? null : info.getBuild().hashShort()); table.addCell(info == null ? null : info.getBuild().hashShort());
table.addCell(info == null ? null : info.getJvm().version()); table.addCell(info == null ? null : info.getJvm().version());
table.addCell(stats == null ? null : stats.getFs() == null ? null : stats.getFs().total().getAvailable()); table.addCell(stats == null ? null : stats.getFs() == null ? null : stats.getFs().total().getAvailable());