mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-22 02:18:51 +00:00
Remove useless code about minion
This commit is contained in:
@@ -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() {}
|
||||
|
Reference in New Issue
Block a user