mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +00:00
fix amount typo
This commit is contained in:
parent
2681e38d3a
commit
7307f9e7a2
@ -876,7 +876,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
|
// 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.
|
// any API calls.
|
||||||
func RemoveTaintOffNode(c clientset.Interface, nodeName string, taint *v1.Taint, node *v1.Node) error {
|
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 {
|
if node != nil {
|
||||||
match := false
|
match := false
|
||||||
for i := range node.Spec.Taints {
|
for i := range node.Spec.Taints {
|
||||||
|
Loading…
Reference in New Issue
Block a user