add description about namespace for pod in log

pull/564/head
tanshanshan 2018-12-11 10:42:27 +08:00
parent 67bc6d2083
commit a26074802f
1 changed files with 1 additions and 1 deletions

View File

@ -1038,7 +1038,7 @@ func selectVictimsOnNode(
if !fits { if !fits {
removePod(p) removePod(p)
victims = append(victims, p) victims = append(victims, p)
klog.V(5).Infof("Pod %v is a potential preemption victim on node %v.", p.Name, nodeInfo.Node().Name) klog.V(5).Infof("Pod %v/%v is a potential preemption victim on node %v.", p.Namespace, p.Name, nodeInfo.Node().Name)
} }
return fits return fits
} }