mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
fix toleration validation invalid error
This commit is contained in:
parent
d7c40cf69e
commit
cc210a4505
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user