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

Remake dry-run=server optional #547

Merged
merged 3 commits into from
Jan 27, 2024
Merged

Remake dry-run=server optional #547

merged 3 commits into from
Jan 27, 2024

Conversation

mumoshu
Copy link
Collaborator

@mumoshu mumoshu commented Jan 27, 2024

This is a follow-up on #499 which redoes it without relying on cobra's DisableFlagParsing. DisableFlagParsing turned out to break far many things than I imagined!

Fixes #536

Ref #537 #538

cmd/upgrade.go Outdated Show resolved Hide resolved
cmd/upgrade.go Show resolved Hide resolved
cmd/upgrade.go Outdated Show resolved Hide resolved
@mumoshu mumoshu force-pushed the redo-dry-run-server-opt branch 2 times, most recently from b7200d9 to ada86a8 Compare January 27, 2024 02:40
This is a follow-up on #499 which redoes it without relying on DisableParsing. DisableParsing turned out to break far many things than I imagined!
@mumoshu mumoshu force-pushed the redo-dry-run-server-opt branch from ada86a8 to 38df431 Compare January 27, 2024 02:42
cmd/upgrade.go Show resolved Hide resolved
cmd/upgrade.go Show resolved Hide resolved
Signed-off-by: yxxhero <aiopsclub@163.com>
@yxxhero
Copy link
Collaborator

yxxhero commented Jan 27, 2024

@mumoshu test locally. all is ok.

@yxxhero yxxhero merged commit 6623fd7 into master Jan 27, 2024
9 checks passed
@yxxhero yxxhero deleted the redo-dry-run-server-opt branch January 27, 2024 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--color flag doesn't work anymore
2 participants