Commit e0b12946 authored by Chengmin Chi's avatar Chengmin Chi Committed by QuanluZhang
Browse files

Add start time for failed trial jobs

parent fd5fd546
...@@ -217,6 +217,9 @@ class NNIDataStore implements DataStore { ...@@ -217,6 +217,9 @@ class NNIDataStore implements DataStore {
jobInfo.logPath = record.logPath; jobInfo.logPath = record.logPath;
} }
jobInfo.endTime = record.timestamp; jobInfo.endTime = record.timestamp;
if (jobInfo.startTime === undefined && record.timestamp !== undefined) {
jobInfo.startTime = record.timestamp;
}
default: default:
} }
jobInfo.status = this.getJobStatusByLatestEvent(record.event); jobInfo.status = this.getJobStatusByLatestEvent(record.event);
......
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