Signed-off-by: jagger <cossjie@foxmail.com>

Former-commit-id: 7bdaf82a118554802ec5dad98f04a4267bd8d2a2
This commit is contained in:
jagger 2024-05-22 10:01:57 +08:00
parent 1f28682e6c
commit 10456d0e57
1 changed files with 0 additions and 3 deletions

View File

@ -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(),
}
// 保存任务数据到数据库