Skip to content

Commit

Permalink
Merge pull request #50 from ksctl/fix/49
Browse files Browse the repository at this point in the history
🩹 Fix: added missing loadCloud credentials
  • Loading branch information
Horiodino authored Feb 14, 2025
2 parents 98d6369 + 781fd89 commit 869044d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ksctl connect --help
}

if len(clusters) == 0 {
k.l.Error("No clusters found to delete")
k.l.Error("No clusters found to connect")
os.Exit(1)
}

Expand Down Expand Up @@ -85,6 +85,10 @@ ksctl connect --help

m := valueMaping[selectedCluster]

if k.loadCloudProviderCreds(m.Provider) != nil {
os.Exit(1)
}

c, err := common.NewController(
k.Ctx,
k.l,
Expand Down

0 comments on commit 869044d

Please sign in to comment.