mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Revert "enforce strict alpha handling for API serving"
This reverts commit 233e0cb8c3
.
This commit is contained in:
parent
a38bb7ed81
commit
696e41a698
@ -54,10 +54,7 @@ type ResourceExpirationEvaluator interface {
|
||||
}
|
||||
|
||||
func NewResourceExpirationEvaluator(currentVersion apimachineryversion.Info) (ResourceExpirationEvaluator, error) {
|
||||
ret := &resourceExpirationEvaluator{
|
||||
// TODO https://github.com/kubernetes/kubernetes/issues/109799 set this back to false after beta is tagged.
|
||||
strictRemovedHandlingInAlpha: true,
|
||||
}
|
||||
ret := &resourceExpirationEvaluator{}
|
||||
if len(currentVersion.Major) > 0 {
|
||||
currentMajor64, err := strconv.ParseInt(currentVersion.Major, 10, 32)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user