Unverified Commit 88abb431 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #58846 from hzxuzhonghu/aggregator-fix

Automatic merge from submit-queue (batch tested with PRs 58783, 58800, 58846). 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>. runtime-config bug in kube-aggregator **What this PR does / why we need it**: kube-aggregator api has upgraded to v1, and introduce a little bug. I have to fix it. **Special notes for your reviewer**: /assign @deads2k **Release note**: ```release-note NONE ```
parents 910d1aaa 7bf825a7
......@@ -196,7 +196,7 @@ func (c completedConfig) NewWithDelegate(delegationTarget genericapiserver.Deleg
}
apiGroupInfo.VersionedResourcesStorageMap["v1beta1"] = storage
}
if apiResourceConfig.AnyResourcesForVersionEnabled(v1beta1.SchemeGroupVersion) {
if apiResourceConfig.AnyResourcesForVersionEnabled(v1.SchemeGroupVersion) {
apiGroupInfo.GroupMeta.GroupVersion = v1.SchemeGroupVersion
storage := map[string]rest.Storage{}
version := v1.SchemeGroupVersion
......
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