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