mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 15:05:20 +00:00
Revert "Add kubelet awareness to taint tolerant match caculator."
This commit is contained in:
committed by
GitHub
parent
21188cadeb
commit
cd4e08e7ec
@@ -34,7 +34,7 @@ func countIntolerableTaintsPreferNoSchedule(taints []api.Taint, tolerations []ap
|
||||
continue
|
||||
}
|
||||
|
||||
if tolerable := api.TaintToleratedByTolerations(taint, tolerations); !tolerable {
|
||||
if !api.TaintToleratedByTolerations(taint, tolerations) {
|
||||
intolerableTaints++
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user