mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 12:32:03 +00:00
Merge pull request #14257 from feihujiang/removeCodeAboutMinionAgain
Auto commit by PR queue bot
This commit is contained in:
commit
81ec641f15
@ -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