mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Switch deprecated API serving back to gating on beta
This commit is contained in:
parent
0fdac49162
commit
32ac434d4d
@ -55,8 +55,7 @@ type ResourceExpirationEvaluator interface {
|
|||||||
|
|
||||||
func NewResourceExpirationEvaluator(currentVersion apimachineryversion.Info) (ResourceExpirationEvaluator, error) {
|
func NewResourceExpirationEvaluator(currentVersion apimachineryversion.Info) (ResourceExpirationEvaluator, error) {
|
||||||
ret := &resourceExpirationEvaluator{
|
ret := &resourceExpirationEvaluator{
|
||||||
// TODO https://github.com/kubernetes/kubernetes/issues/111972 set this back to false after beta is tagged.
|
strictRemovedHandlingInAlpha: false,
|
||||||
strictRemovedHandlingInAlpha: true,
|
|
||||||
}
|
}
|
||||||
if len(currentVersion.Major) > 0 {
|
if len(currentVersion.Major) > 0 {
|
||||||
currentMajor64, err := strconv.ParseInt(currentVersion.Major, 10, 32)
|
currentMajor64, err := strconv.ParseInt(currentVersion.Major, 10, 32)
|
||||||
|
Loading…
Reference in New Issue
Block a user