mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #78473 from xichengliudui/deleteTODO
delete TODO: remove when we stop supporting the legacy group version
This commit is contained in:
commit
b45bfef437
@ -613,7 +613,6 @@ func Complete(s *options.ServerRunOptions) (completedServerRunOptions, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: remove when we stop supporting the legacy group version.
|
|
||||||
if s.APIEnablement.RuntimeConfig != nil {
|
if s.APIEnablement.RuntimeConfig != nil {
|
||||||
for key, value := range s.APIEnablement.RuntimeConfig {
|
for key, value := range s.APIEnablement.RuntimeConfig {
|
||||||
if key == "v1" || strings.HasPrefix(key, "v1/") ||
|
if key == "v1" || strings.HasPrefix(key, "v1/") ||
|
||||||
|
Loading…
Reference in New Issue
Block a user