Merge pull request 'fix crontask bugs' (#249) from tzwang/pcm-coordinator:master into master
Former-commit-id: 4888b8fb91aa8c92ffe0020592eeb594d19d7eca
This commit is contained in:
commit
7cdd089dd8
|
@ -561,6 +561,10 @@ func UpdateInferTaskStatus(svc *svc.ServiceContext, task *types.TaskModel) {
|
|||
// return
|
||||
//}
|
||||
|
||||
if aiTask[0].StartTime == "" {
|
||||
return
|
||||
}
|
||||
|
||||
start, _ := time.ParseInLocation(time.RFC3339, aiTask[0].StartTime, time.Local)
|
||||
end, _ := time.ParseInLocation(time.RFC3339, aiTask[0].EndTime, time.Local)
|
||||
var status string
|
||||
|
|
Loading…
Reference in New Issue