Unverified Commit 89dd3316 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #64305 from hzxuzhonghu/fix-toleration-validation

Automatic merge from submit-queue (batch tested with PRs 61803, 64305, 64170, 64361, 64339). 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>. fix toleration validation invalid error Fixes #64301 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
parents f701b752 cc210a45
...@@ -2749,7 +2749,7 @@ func validateTaintEffect(effect *core.TaintEffect, allowEmpty bool, fldPath *fie ...@@ -2749,7 +2749,7 @@ func validateTaintEffect(effect *core.TaintEffect, allowEmpty bool, fldPath *fie
// TODO: Uncomment this block when implement TaintEffectNoScheduleNoAdmit. // TODO: Uncomment this block when implement TaintEffectNoScheduleNoAdmit.
// string(core.TaintEffectNoScheduleNoAdmit), // string(core.TaintEffectNoScheduleNoAdmit),
} }
allErrors = append(allErrors, field.NotSupported(fldPath, effect, validValues)) allErrors = append(allErrors, field.NotSupported(fldPath, *effect, validValues))
} }
return allErrors return allErrors
} }
......
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