@@ -902,7 +902,7 @@ var _ = SIGDescribe("Services", func() {
902
902
903
903
ginkgo .By ("Creating a webserver pod to be part of the TCP service which echoes back source ip" )
904
904
serverPodName := "echo-sourceip"
905
- pod := f . NewAgnhostPod (serverPodName , "netexec" , "--http-port" , strconv .Itoa (servicePort ))
905
+ pod := newAgnhostPod (serverPodName , "netexec" , "--http-port" , strconv .Itoa (servicePort ))
906
906
pod .Labels = jig .Labels
907
907
_ , err = cs .CoreV1 ().Pods (ns ).Create (context .TODO (), pod , metav1.CreateOptions {})
908
908
framework .ExpectNoError (err )
@@ -960,7 +960,7 @@ var _ = SIGDescribe("Services", func() {
960
960
961
961
ginkgo .By ("creating a client/server pod" )
962
962
serverPodName := "hairpin"
963
- podTemplate := f . NewAgnhostPod (serverPodName , "netexec" , "--http-port" , strconv .Itoa (servicePort ))
963
+ podTemplate := newAgnhostPod (serverPodName , "netexec" , "--http-port" , strconv .Itoa (servicePort ))
964
964
podTemplate .Labels = jig .Labels
965
965
pod , err := cs .CoreV1 ().Pods (ns ).Create (context .TODO (), podTemplate , metav1.CreateOptions {})
966
966
framework .ExpectNoError (err )
@@ -3334,7 +3334,7 @@ func proxyMode(f *framework.Framework) (string, error) {
3334
3334
Containers : []v1.Container {
3335
3335
{
3336
3336
Name : "detector" ,
3337
- Image : framework . AgnHostImage ,
3337
+ Image : agnHostImage ,
3338
3338
Args : []string {"pause" },
3339
3339
},
3340
3340
},
0 commit comments