Skip to content

Commit

Permalink
fix: fix label within login command (#6160)
Browse files Browse the repository at this point in the history
  • Loading branch information
WitoDelnat authored Feb 7, 2025
1 parent 1a8ad20 commit 68ccbff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/kubectl-testkube/commands/common/environments.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func FindEnvID(envs []cloudclient.Environment, name string) string {
}

func UiGetEnvironmentID(url, token, orgID string) (string, string, error) {
// Choose organization from orgs available
// Choose environment from orgs available
envs, err := GetEnvironments(url, token, orgID)
if err != nil {
return "", "", fmt.Errorf("failed to get environments: %s", err.Error())
Expand All @@ -52,7 +52,7 @@ func UiGetEnvironmentID(url, token, orgID string) (string, string, error) {
}

envNames := GetEnvNames(envs)
envName := ui.Select("Choose organization", envNames)
envName := ui.Select("Choose environment", envNames)
envID := FindEnvID(envs, envName)

return envID, envName, nil
Expand Down

0 comments on commit 68ccbff

Please sign in to comment.