Merge pull request 'fix bug' (#199) from devad/pcm-coordinator:master into master
Former-commit-id: 63eeb98474019dd890758d282f8218c91d7c4ca7
This commit is contained in:
commit
40f65a958b
|
@ -112,8 +112,6 @@ func (s *AiStorage) SaveAiTask(taskId int64, option *option.AiOption, clusterId
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
del, _ := time.Parse(constants.Layout, constants.Layout)
|
|
||||||
|
|
||||||
aiTaskModel := models.TaskAi{
|
aiTaskModel := models.TaskAi{
|
||||||
TaskId: taskId,
|
TaskId: taskId,
|
||||||
AdapterId: aId,
|
AdapterId: aId,
|
||||||
|
@ -127,7 +125,6 @@ func (s *AiStorage) SaveAiTask(taskId int64, option *option.AiOption, clusterId
|
||||||
Status: status,
|
Status: status,
|
||||||
Msg: msg,
|
Msg: msg,
|
||||||
Card: option.ComputeCard,
|
Card: option.ComputeCard,
|
||||||
DeletedAt: del,
|
|
||||||
CommitTime: time.Now(),
|
CommitTime: time.Now(),
|
||||||
}
|
}
|
||||||
// 保存任务数据到数据库
|
// 保存任务数据到数据库
|
||||||
|
|
Loading…
Reference in New Issue