Commit 79321585 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #26974 from pmorie/log-spam

Automatic merge from submit-queue Reduce log spam in dockertools manager.go Fixes #26972 @kubernetes/sig-node
parents f1ccc2f1 0a0797a6
......@@ -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 {
......
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