From af94c4e6891748e6c96ffe793c99396d6be5e58b Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Fri, 1 Sep 2017 16:12:49 +0200 Subject: [PATCH] Fix pod and node names switched around in error message. --- pkg/controller/daemon/daemon_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/daemon/daemon_controller.go b/pkg/controller/daemon/daemon_controller.go index c931df8b589..d1f98f88665 100644 --- a/pkg/controller/daemon/daemon_controller.go +++ b/pkg/controller/daemon/daemon_controller.go @@ -839,7 +839,7 @@ func (dsc *DaemonSetsController) manage(ds *extensions.DaemonSet, hash string) e continue } if pod.Status.Phase == v1.PodFailed { - msg := fmt.Sprintf("Found failed daemon pod %s/%s on node %s, will try to kill it", pod.Namespace, node.Name, pod.Name) + msg := fmt.Sprintf("Found failed daemon pod %s/%s on node %s, will try to kill it", pod.Namespace, pod.Name, node.Name) glog.V(2).Infof(msg) // Emit an event so that it's discoverable to users. dsc.eventRecorder.Eventf(ds, v1.EventTypeWarning, FailedDaemonPodReason, msg)