Merge pull request #78473 from xichengliudui/deleteTODO

delete TODO: remove when we stop supporting the legacy group version
This commit is contained in:
Kubernetes Prow Robot 2019-07-09 06:34:03 -07:00 committed by GitHub
commit b45bfef437
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {
for key, value := range s.APIEnablement.RuntimeConfig {
if key == "v1" || strings.HasPrefix(key, "v1/") ||