mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-23 19:08:44 +00:00
Merge pull request #6401 from bprashanth/minion_watch
Unbreak minion watch on kubelet
This commit is contained in:
@@ -1550,7 +1550,7 @@ func init() {
|
||||
// If one of the conversion functions is malformed, detect it immediately.
|
||||
panic(err)
|
||||
}
|
||||
err = newer.Scheme.AddFieldLabelConversionFunc("v1beta1", "Minion",
|
||||
err = newer.Scheme.AddFieldLabelConversionFunc("v1beta1", "Node",
|
||||
func(label, value string) (string, string, error) {
|
||||
switch label {
|
||||
case "name":
|
||||
|
@@ -1475,7 +1475,7 @@ func init() {
|
||||
// If one of the conversion functions is malformed, detect it immediately.
|
||||
panic(err)
|
||||
}
|
||||
err = newer.Scheme.AddFieldLabelConversionFunc("v1beta2", "Minion",
|
||||
err = newer.Scheme.AddFieldLabelConversionFunc("v1beta2", "Node",
|
||||
func(label, value string) (string, string, error) {
|
||||
switch label {
|
||||
case "name":
|
||||
|
@@ -39,7 +39,7 @@ func init() {
|
||||
// If one of the conversion functions is malformed, detect it immediately.
|
||||
panic(err)
|
||||
}
|
||||
err = newer.Scheme.AddFieldLabelConversionFunc("v1beta3", "Minion",
|
||||
err = newer.Scheme.AddFieldLabelConversionFunc("v1beta3", "Node",
|
||||
func(label, value string) (string, string, error) {
|
||||
switch label {
|
||||
case "name":
|
||||
|
Reference in New Issue
Block a user