Commit 6c94482a authored by Iain R. Learmonth's avatar Iain R. Learmonth
Browse files

Remove pointless assignment in NodeStatus

Fixes: #27124
parent 0c5d3744
......@@ -565,8 +565,7 @@ public class NodeStatus extends Document {
if (!parts[14].equals("null")) {
nodeStatus.setPortList(parts[14]);
}
long firstSeenMillis = lastSeenMillis;
firstSeenMillis = DateTimeHelper.parse(parts[15] + " " + parts[16]);
long firstSeenMillis = DateTimeHelper.parse(parts[15] + " " + parts[16]);
if (firstSeenMillis < 0L) {
log.error("Parse exception while parsing node status "
+ "line '" + documentString + "'. Skipping.");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment