add logging for when container status is running
parent
587154196e
commit
83cc28e082
|
|
@ -156,6 +156,10 @@ func CreateContainerNode(p CreateParams) error {
|
||||||
if s != "running" {
|
if s != "running" {
|
||||||
return fmt.Errorf("temporary error created container %q is not running yet", p.Name)
|
return fmt.Errorf("temporary error created container %q is not running yet", p.Name)
|
||||||
}
|
}
|
||||||
|
if s == "running" {
|
||||||
|
glog.Infof("the created container %q has a running status.", p.Name)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue