Commit 81ec641f authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #14257 from feihujiang/removeCodeAboutMinionAgain

Auto commit by PR queue bot
parents b07b9918 c9917292
......@@ -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