Skip to content

Commit

Permalink
Cat tasks output should respect time display settings (#54536) (#54736)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaiera committed Apr 3, 2020
1 parent 7e6b845 commit 1ad9af5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private void buildRow(Table table, boolean fullId, boolean detailed, DiscoveryNo
table.addCell(taskInfo.getStartTime());
table.addCell(FORMATTER.format(Instant.ofEpochMilli(taskInfo.getStartTime())));
table.addCell(taskInfo.getRunningTimeNanos());
table.addCell(TimeValue.timeValueNanos(taskInfo.getRunningTimeNanos()).toString());
table.addCell(TimeValue.timeValueNanos(taskInfo.getRunningTimeNanos()));

// Node information. Note that the node may be null because it has left the cluster between when we got this response and now.
table.addCell(fullId ? nodeId : Strings.substring(nodeId, 0, 4));
Expand Down

0 comments on commit 1ad9af5

Please sign in to comment.