Skip to content

Commit 7b71c03

Browse files
committed
review fixes
1 parent 6cfedd5 commit 7b71c03

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/k8s/kubernetes.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,8 @@ func IsNonEvictible(p *v1.Pod) bool {
501501
// a cordoned node since they tolerate the node.kubernetes.io/unschedulable taint.
502502
func HasWildcardToleration(p *v1.Pod) bool {
503503
for _, t := range p.Spec.Tolerations {
504+
fmt.Println(p.Name, t.Key == "" && t.Operator == v1.TolerationOpExists)
505+
fmt.Println(t)
504506
if t.Key == "" && t.Operator == v1.TolerationOpExists {
505507
return true
506508
}

0 commit comments

Comments
 (0)