We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cc44fb commit bc1e7c6Copy full SHA for bc1e7c6
pkg/kubelet/images/image_manager.go
@@ -86,7 +86,7 @@ func (m *imageManager) logIt(ref *v1.ObjectReference, eventtype, event, prefix,
86
// EnsureImageExists pulls the image for the specified pod and container, and returns
87
// (imageRef, error message, error).
88
func (m *imageManager) EnsureImageExists(pod *v1.Pod, container *v1.Container, pullSecrets []v1.Secret, podSandboxConfig *runtimeapi.PodSandboxConfig) (string, string, error) {
89
- logPrefix := fmt.Sprintf("%s/%s", pod.Name, container.Image)
+ logPrefix := fmt.Sprintf("%s/%s/%s", pod.Namespace, pod.Name, container.Image)
90
ref, err := kubecontainer.GenerateContainerRef(pod, container)
91
if err != nil {
92
klog.Errorf("Couldn't make a ref to pod %v, container %v: '%v'", pod.Name, container.Name, err)
0 commit comments