Merge pull request #8853 from caesarxuchao/HostToNodeName

update PodSpec.Host to PodSpec.NodeName
This commit is contained in:
Tim Hockin
2015-05-28 15:50:12 -07:00
45 changed files with 291 additions and 291 deletions

View File

@@ -1739,7 +1739,7 @@ func failedState(cName string) api.ContainerStatus {
func TestPodPhaseWithRestartAlways(t *testing.T) {
desiredState := api.PodSpec{
Host: "machine",
NodeName: "machine",
Containers: []api.Container{
{Name: "containerA"},
{Name: "containerB"},
@@ -1814,7 +1814,7 @@ func TestPodPhaseWithRestartAlways(t *testing.T) {
func TestPodPhaseWithRestartNever(t *testing.T) {
desiredState := api.PodSpec{
Host: "machine",
NodeName: "machine",
Containers: []api.Container{
{Name: "containerA"},
{Name: "containerB"},
@@ -1902,7 +1902,7 @@ func TestPodPhaseWithRestartNever(t *testing.T) {
func TestPodPhaseWithRestartOnFailure(t *testing.T) {
desiredState := api.PodSpec{
Host: "machine",
NodeName: "machine",
Containers: []api.Container{
{Name: "containerA"},
{Name: "containerB"},