Skip to content

Commit

Permalink
Fix daemon pod log
Browse files Browse the repository at this point in the history
Some spaces were missing and the namespace should be before the pod name.
  • Loading branch information
sabinaaledort committed Jul 1, 2021
1 parent 442f97d commit 79e65c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 79e65c3

Please sign in to comment.