Skip to content

Commit 9e21452

Browse files
committed
chore: include a test to check previous fix
Signed-off-by: dntosas <[email protected]>
1 parent 5e84e46 commit 9e21452

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/e2e/suites/unmanaged/unmanaged_conversion_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ spec:
9090
getCmd := exec.Command("kubectl", "--kubeconfig", kubeconfigPath,
9191
"get", "awsclustercontrolleridentity", infrav1.AWSClusterControllerIdentityName,
9292
"-o", "jsonpath={.apiVersion}")
93-
output, err := getCmd.CombinedOutput()
93+
output, err = getCmd.CombinedOutput()
9494
Expect(err).NotTo(HaveOccurred(), "Failed to get AWSClusterControllerIdentity: %s", string(output))
9595

9696
apiVersion := strings.TrimSpace(string(output))
@@ -190,7 +190,7 @@ spec:
190190
kubectlCmd := exec.Command("kubectl", "--kubeconfig", kubeconfigPath,
191191
"get", "awsclustercontrolleridentity", infrav1.AWSClusterControllerIdentityName,
192192
"-o", "jsonpath={.apiVersion}")
193-
output, err := kubectlCmd.CombinedOutput()
193+
output, err = kubectlCmd.CombinedOutput()
194194
Expect(err).NotTo(HaveOccurred(), "kubectl get failed: %s", string(output))
195195

196196
apiVersion := strings.TrimSpace(string(output))
@@ -206,4 +206,3 @@ spec:
206206
})
207207
})
208208
})
209-

0 commit comments

Comments
 (0)