Skip to content

Commit

Permalink
Fix karmada-aggregated-apiserver compile due to Kubernetes#122891
Browse files Browse the repository at this point in the history
Signed-off-by: RainbowMango <[email protected]>
  • Loading branch information
RainbowMango committed Nov 9, 2024
1 parent 646f968 commit fe522d6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/aggregatedapiserver/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package aggregatedapiserver

import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/version"
"k8s.io/apiserver/pkg/registry/generic"
"k8s.io/apiserver/pkg/registry/rest"
genericapiserver "k8s.io/apiserver/pkg/server"
Expand Down Expand Up @@ -64,11 +63,6 @@ func (cfg *Config) Complete() CompletedConfig {
&cfg.ExtraConfig,
}

c.GenericConfig.Version = &version.Info{
Major: "1",
Minor: "0",
}

return CompletedConfig{&c}
}

Expand Down

0 comments on commit fe522d6

Please sign in to comment.