Commit 52549856 authored by duanjinfei's avatar duanjinfei

update get model info is nil

parent 1fd3bc69
...@@ -238,8 +238,10 @@ func (t *TaskWorker) GetAckResp(taskMsg *nodeManagerV1.PushTaskMessage) (isCanEx ...@@ -238,8 +238,10 @@ func (t *TaskWorker) GetAckResp(taskMsg *nodeManagerV1.PushTaskMessage) (isCanEx
} }
isCanExecute = true isCanExecute = true
modelInfo := t.DockerOp.GetImageInfo(taskCmd.ImageName) modelInfo := t.DockerOp.GetImageInfo(taskCmd.ImageName)
if modelInfo != nil {
bootUpTime = modelInfo.StartUpTime bootUpTime = modelInfo.StartUpTime
executeTime = modelInfo.EstimatExeTime executeTime = modelInfo.EstimatExeTime
}
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment