Remove useless code about minion
This commit is contained in:
parent
c7a28d7091
commit
c99172924c
@ -74,10 +74,6 @@ func init() {
|
||||
|
||||
// Register Unversioned types
|
||||
Scheme.AddKnownTypes("", &unversioned.Status{})
|
||||
|
||||
// Legacy names are supported
|
||||
Scheme.AddKnownTypeWithName("", "Minion", &Node{})
|
||||
Scheme.AddKnownTypeWithName("", "MinionList", &NodeList{})
|
||||
}
|
||||
|
||||
func (*Pod) IsAnAPIObject() {}
|
||||
|
@ -89,10 +89,6 @@ func addKnownTypes() {
|
||||
|
||||
// Add common types
|
||||
api.Scheme.AddKnownTypes("v1", &unversioned.Status{})
|
||||
|
||||
// Legacy names are supported
|
||||
api.Scheme.AddKnownTypeWithName("v1", "Minion", &Node{})
|
||||
api.Scheme.AddKnownTypeWithName("v1", "MinionList", &NodeList{})
|
||||
}
|
||||
|
||||
func (*Pod) IsAnAPIObject() {}
|
||||
|
Loading…
Reference in New Issue
Block a user