mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Merge pull request #106392 from liggitt/strict-alpha
Revert strict-in-alpha to false
This commit is contained in:
commit
a627386784
@ -54,10 +54,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/101951 set this back to false after beta is tagged.
|
|
||||||
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)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user