Commit c9917292 authored by feihujiang's avatar feihujiang

Remove useless code about minion

parent c7a28d70
......@@ -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() {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment