add logging for when container status is running

pull/7203/head
Medya Gh 2020-03-24 07:11:22 -07:00
parent 587154196e
commit 83cc28e082
1 changed files with 4 additions and 0 deletions

View File

@ -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
} }