Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Add start time for failed trial jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
chicm-ms authored and QuanluZhang committed Sep 13, 2018
1 parent fd5fd54 commit e0b1294
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/nni_manager/core/nniDataStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ class NNIDataStore implements DataStore {
jobInfo.logPath = record.logPath;
}
jobInfo.endTime = record.timestamp;
if (jobInfo.startTime === undefined && record.timestamp !== undefined) {
jobInfo.startTime = record.timestamp;
}
default:
}
jobInfo.status = this.getJobStatusByLatestEvent(record.event);
Expand Down

0 comments on commit e0b1294

Please sign in to comment.