renamed variable in test file

This commit is contained in:
Abhishek Shah 2015-09-18 09:03:58 -07:00
parent 1a46238bf2
commit 485e1930e4

View File

@ -45,7 +45,7 @@ const (
nodeHttpPort = 32080 nodeHttpPort = 32080
nodeUdpPort = 32081 nodeUdpPort = 32081
loadBalancerHttpPort = 100 loadBalancerHttpPort = 100
imageName = "gcr.io/google_containers/netexec:1.0" netexecImageName = "gcr.io/google_containers/netexec:1.0"
testPodName = "test-container-pod" testPodName = "test-container-pod"
nodePortServiceName = "node-port-service" nodePortServiceName = "node-port-service"
loadBalancerServiceName = "load-balancer-service" loadBalancerServiceName = "load-balancer-service"
@ -286,7 +286,7 @@ func (config *KubeProxyTestConfig) createNetShellPodSpec(podName string) *api.Po
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: "webserver", Name: "webserver",
Image: imageName, Image: netexecImageName,
ImagePullPolicy: api.PullIfNotPresent, ImagePullPolicy: api.PullIfNotPresent,
Command: []string{ Command: []string{
"/netexec", "/netexec",
@ -329,7 +329,7 @@ func (config *KubeProxyTestConfig) createTestPodSpec() *api.Pod {
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: "webserver", Name: "webserver",
Image: imageName, Image: netexecImageName,
ImagePullPolicy: api.PullIfNotPresent, ImagePullPolicy: api.PullIfNotPresent,
Command: []string{ Command: []string{
"/netexec", "/netexec",