Unverified Commit b1c75eb0 authored by Ashley's avatar Ashley

Fixed taints being applied to master if NoTaintMaster is true

parent 2e433e81
...@@ -115,7 +115,7 @@ func delTaintIfExists(n *v1.Node, t v1.Taint) { ...@@ -115,7 +115,7 @@ func delTaintIfExists(n *v1.Node, t v1.Taint) {
if taint == t { if taint == t {
continue continue
} }
taints = append(taints, t) taints = append(taints, taint)
} }
n.Spec.Taints = taints n.Spec.Taints = taints
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment