Skip to content

Commit c9d6f7b

Browse files
devanshpopliijaydeokarjayanthvn
authored
Update eventrecorder.go (#3267)
findMyPod function retrieves the aws-node daemonset pod and the Debug log was printing "Node found" instead, it should be "Pod found" Co-authored-by: Jay Deokar <23660509+jaydeokar@users.noreply.github.com> Co-authored-by: Jayanth Varavani <1111446+jayanthvn@users.noreply.github.com>
1 parent 93af5ea commit c9d6f7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/utils/eventrecorder/eventrecorder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func findMyPod(k8sClient client.Client) (corev1.Pod, error) {
9595
if err != nil {
9696
log.Errorf("Client failed to GET pod (%s)", MyPodName)
9797
} else {
98-
log.Debugf("Node found %s - labels - %d", pod.Name, len(pod.Labels))
98+
log.Debugf("Pod found %s - labels - %d", pod.Name, len(pod.Labels))
9999
}
100100
return pod, err
101101
}

0 commit comments

Comments
 (0)