From 2c074c15501fb46953618c72fb00c6c4742a7b0f Mon Sep 17 00:00:00 2001 From: Patryk Strusiewicz-Surmacki Date: Thu, 17 Oct 2024 16:54:13 +0200 Subject: [PATCH] Fixed issue Signed-off-by: Patryk Strusiewicz-Surmacki --- v2/e2e/coil_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/e2e/coil_test.go b/v2/e2e/coil_test.go index 1835f4cb..f30e891e 100644 --- a/v2/e2e/coil_test.go +++ b/v2/e2e/coil_test.go @@ -581,7 +581,7 @@ func testCoild() { func testNAT(data []byte, clientPod, fakeURL string, natAddresses []string, ipamEnabled bool) { resp := kubectlSafe(data, "exec", "-i", clientPod, "--", "curl", "-sf", "-T", "-", fakeURL) - if !enableIPAMTests { + if !ipamEnabled { respStr := string(resp) idx := strings.Index(respStr, "|") ipAddr := respStr[:idx]