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

Edit arguments given to run new upgraded subctl #970

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

Jaanki
Copy link
Contributor

@Jaanki Jaanki commented Oct 9, 2023

os.Args[1:] dropped prefix subctl so when upgrade is run using upgraded subctl, upgrade is considered as the new parent command and hencce complains about the --to-version validity.

This PR drops the arg slicing.

Closes: #962

@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr970/Jaanki/upgrade_arg_slicing
🚀 Full E2E won't run until the "ready-to-test" label is applied. I will add it automatically once the PR has 2 approvals, or you can add it manually.

@Jaanki Jaanki self-assigned this Oct 9, 2023
@Jaanki Jaanki added the backport This change requires a backport to eligible release branches label Oct 9, 2023
@submariner-bot submariner-bot added the ready-to-test When a PR is ready for full E2E testing label Oct 9, 2023
@Jaanki Jaanki force-pushed the upgrade_arg_slicing branch from de1a1db to 616acf8 Compare October 11, 2023 11:39
@Jaanki Jaanki requested a review from mkolesnik as a code owner October 11, 2023 11:39
@Jaanki Jaanki force-pushed the upgrade_arg_slicing branch from 616acf8 to 3379d94 Compare October 11, 2023 12:54
@Jaanki Jaanki removed the ready-to-test When a PR is ready for full E2E testing label Oct 11, 2023
@Jaanki
Copy link
Contributor Author

Jaanki commented Oct 11, 2023

Removing ready-to-test label until upgrade command jobs pass to save few run cycles.

os.Args[1:] dropped prefix `subctl` so when upgrade is run using
upgraded subctl, `upgrade` is considered as the new parent command and
hencce complains about the `--to-version` validity.

This PR drops the arg slicing.

Closes: submariner-io#962

Signed-off-by: Janki Chhatbar <[email protected]>
@Jaanki Jaanki force-pushed the upgrade_arg_slicing branch from 3379d94 to 823fd20 Compare October 11, 2023 13:26
@Jaanki Jaanki added the ready-to-test When a PR is ready for full E2E testing label Oct 11, 2023
@Jaanki Jaanki enabled auto-merge (rebase) October 11, 2023 13:50
@Jaanki Jaanki merged commit df6fb82 into submariner-io:devel Oct 11, 2023
31 checks passed
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr970/Jaanki/upgrade_arg_slicing]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport This change requires a backport to eligible release branches backport-handled ready-to-test When a PR is ready for full E2E testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

subctl upgrade not working
5 participants