Skip to content

Commit 8989e0e

Browse files
committed
kubectl auth command fix
1 parent fc5b30f commit 8989e0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/ciCloudLogin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ var cloudLoginCmd = &cobra.Command{
286286
testConnection, _ := cmd.Flags().GetBool("test-connection")
287287
if testConnection {
288288
if !debug {
289-
command = "kubectl can-i get pods"
289+
command = "kubectl auth can-i get pods"
290290
_, err := exec.Command("bash", "-c", command).CombinedOutput()
291291
if err != nil {
292292
log.Fatal("Error: ", err)

0 commit comments

Comments
 (0)