Make scheduler to watch PodSpec.Host instead Status.Host

This commit is contained in:
Wojciech Tyczynski
2015-03-12 13:38:58 +01:00
parent a3fd0a9fd5
commit 9f2f10d6db
9 changed files with 12 additions and 13 deletions

View File

@@ -1300,7 +1300,7 @@ func init() {
case "name":
return "name", value, nil
case "DesiredState.Host":
return "status.host", value, nil
return "spec.host", value, nil
case "DesiredState.Status":
podStatus := PodStatus(value)
var internalValue newer.PodPhase