Skip to content

Commit

Permalink
Merge pull request #18274 from r-vasquez/fix-panic-select
Browse files Browse the repository at this point in the history
rpk: stop using args[0] in cloud cluster select
  • Loading branch information
r-vasquez authored May 8, 2024
2 parents 8da29e6 + 3a9d171 commit e6417b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/go/rpk/pkg/cli/cloud/cluster/select.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ an existing self-hosted profile, please rename that profile or use the
Either:
rpk profile select %[1]q
rpk profile rename-to $something_else
rpk cloud cluster select %[2]q
rpk cloud cluster select [NAME]
Or:
rpk cloud cluster select %[2]q --profile $another_something
`, ee.Name, args[0])
rpk cloud cluster select [NAME] --profile $another_something
`, ee.Name)
os.Exit(1)
}
out.MaybeDieErr(err)
Expand Down

0 comments on commit e6417b5

Please sign in to comment.