fix bug
Signed-off-by: jagger <cossjie@foxmail.com> Former-commit-id: 7bdaf82a118554802ec5dad98f04a4267bd8d2a2
This commit is contained in:
parent
1f28682e6c
commit
10456d0e57
|
@ -112,8 +112,6 @@ func (s *AiStorage) SaveAiTask(taskId int64, option *option.AiOption, clusterId
|
|||
return err
|
||||
}
|
||||
|
||||
del, _ := time.Parse(constants.Layout, constants.Layout)
|
||||
|
||||
aiTaskModel := models.TaskAi{
|
||||
TaskId: taskId,
|
||||
AdapterId: aId,
|
||||
|
@ -127,7 +125,6 @@ func (s *AiStorage) SaveAiTask(taskId int64, option *option.AiOption, clusterId
|
|||
Status: status,
|
||||
Msg: msg,
|
||||
Card: option.ComputeCard,
|
||||
DeletedAt: del,
|
||||
CommitTime: time.Now(),
|
||||
}
|
||||
// 保存任务数据到数据库
|
||||
|
|
Loading…
Reference in New Issue