mirror of https://github.com/k3s-io/k3s
Merge pull request #42311 from timchenxiaoyu/amounttypo
Automatic merge from submit-queue fix amount typopull/6/head
commit
d3ebfb2ffb
|
@ -891,7 +891,7 @@ func AddOrUpdateTaintOnNode(c clientset.Interface, nodeName string, taint *v1.Ta
|
|||
// If passed a node it'll check if there's anything to be done, if taint is not present it won't issue
|
||||
// any API calls.
|
||||
func RemoveTaintOffNode(c clientset.Interface, nodeName string, taint *v1.Taint, node *v1.Node) error {
|
||||
// Short circuit for limiting amout of API calls.
|
||||
// Short circuit for limiting amount of API calls.
|
||||
if node != nil {
|
||||
match := false
|
||||
for i := range node.Spec.Taints {
|
||||
|
|
Loading…
Reference in New Issue