Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v24.1.x] rpk: stop using args[0] in cloud cluster select #18321

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #18274
Fixes: #18320,

There might be cases where the user is using
rpk cloud cluster select in a single-cluster org
and args will be null, causing a panic.

Fixes redpanda-data#18270

(cherry picked from commit 3a9d171)
@vbotbuildovich vbotbuildovich added this to the v24.1.x-next milestone May 8, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label May 8, 2024
@r-vasquez r-vasquez self-assigned this May 9, 2024
@r-vasquez r-vasquez merged commit c007895 into redpanda-data:v24.1.x May 9, 2024
23 checks passed
@piyushredpanda piyushredpanda modified the milestones: v24.1.x-next, v24.1.3 May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rpk kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants