eliminate mixed case from RESTMapper

This commit is contained in:
deads2k
2016-02-08 11:19:16 -05:00
parent f93d9304a4
commit 6d71421ae1
10 changed files with 63 additions and 93 deletions

View File

@@ -124,9 +124,8 @@ func newExternalScheme() (*runtime.Scheme, meta.RESTMapper, runtime.Codec) {
for kind := range scheme.KnownTypes(gv) {
gvk := gv.WithKind(kind)
mixedCase := false
scope := meta.RESTScopeNamespace
mapper.Add(gvk, scope, mixedCase)
mapper.Add(gvk, scope)
}
}