mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 19:52:42 +00:00
Make scheduler to watch PodSpec.Host instead Status.Host
This commit is contained in:
2
pkg/client/cache/listwatch_test.go
vendored
2
pkg/client/cache/listwatch_test.go
vendored
@@ -53,7 +53,7 @@ func getHostFieldLabel() string {
|
||||
case "v1beta1", "v1beta2":
|
||||
return "DesiredState.Host"
|
||||
default:
|
||||
return "status.host"
|
||||
return "spec.host"
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user