Reduce log spam in dockertools manager.go

This commit is contained in:
Paul Morie 2016-06-07 13:22:01 -04:00
parent 7476d97781
commit 0a0797a680

View File

@ -1504,8 +1504,9 @@ func (dm *DockerManager) runContainerInPod(pod *api.Pod, container *api.Containe
ref, err := kubecontainer.GenerateContainerRef(pod, container)
if err != nil {
glog.Errorf("Can't make a ref to pod %v, container %v: '%v'", pod.Name, container.Name, err)
} else {
glog.V(5).Infof("Generating ref for container %s: %#v", container.Name, ref)
}
glog.Infof("Generating ref for container %s: %#v", container.Name, ref)
opts, err := dm.runtimeHelper.GenerateRunContainerOptions(pod, container, podIP)
if err != nil {