mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-24 05:59:02 +00:00
Automatic merge from submit-queue (batch tested with PRs 54604, 55781, 55806, 55935, 55991). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove incorrect dead code. TolerationToleratesTaint was incorrect: if the toleration.Key is empty and taint is non-empty, it should not return false. It was also not used anywhere. The correct implementations are in staging/src/k8s.io/api/core/v1/toleration.go and pkg/apis/core/v1/helper/helpers.go **Release note**: ```release-note NONE ``` /sig scheduling /sig api-machinery /kind bug