From 79e65c3c92d974604becc1a570dea6da9fdc8bc9 Mon Sep 17 00:00:00 2001 From: Sabina Aledort Date: Thu, 1 Jul 2021 10:07:04 +0300 Subject: [PATCH] Fix daemon pod log Some spaces were missing and the namespace should be before the pod name. --- pkg/daemon/daemon.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/daemon/daemon.go b/pkg/daemon/daemon.go index f10fa7413..92762b192 100644 --- a/pkg/daemon/daemon.go +++ b/pkg/daemon/daemon.go @@ -167,8 +167,7 @@ func New( if usingEviction { verbStr = "Evicted" } - glog.Info(fmt.Sprintf("%s pod from Node", verbStr), - "pod", fmt.Sprintf("%s/%s", pod.Name, pod.Namespace)) + glog.Info(fmt.Sprintf("%s pod from Node %s/%s", verbStr, pod.Namespace, pod.Name)) }, Out: writer{glog.Info}, ErrOut: writer{glog.Error},