Commit 1a00717c authored by duanjinfei's avatar duanjinfei

add model wait

parent 649a3e9a
......@@ -148,6 +148,9 @@ func (m *ModelHandler) MonitorModelStatus() {
select {
case <-ticker.C:
{
if !m.IsInit {
continue
}
log.Info("Start monitoring model status for update image info")
imageList, _ := m.dockerOp.PsImages()
if imageList != nil && len(imageList) > 0 {
......
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