From e0b129469da6bb80ef2656ad8937c1d06c4d019b Mon Sep 17 00:00:00 2001 From: Chengmin Chi Date: Wed, 12 Sep 2018 11:07:16 +0800 Subject: [PATCH] Add start time for failed trial jobs --- src/nni_manager/core/nniDataStore.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nni_manager/core/nniDataStore.ts b/src/nni_manager/core/nniDataStore.ts index 00d3ba5a72..da8b4ca8ae 100644 --- a/src/nni_manager/core/nniDataStore.ts +++ b/src/nni_manager/core/nniDataStore.ts @@ -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);