Skip to content

Mutually exclusive switches on Solution Import#331

Merged
tehcrashxor merged 1 commit into
mainfrom
tehcrash-solutionimport-mutuallyexclusive
Oct 19, 2023
Merged

Mutually exclusive switches on Solution Import#331
tehcrashxor merged 1 commit into
mainfrom
tehcrash-solutionimport-mutuallyexclusive

Conversation

@tehcrashxor

Copy link
Copy Markdown
Member

Callers for Solution Import return a default value of false for both --import-as-holding and --stage-and-upgrade. These two arguments are mutually exclusive, and the PAC side validation logic only cares that they were specificed on the command line, not that only one of them can be true, thus failing the command even when both are false.

This change only adds those parameters to the command line args when they are true

@tehcrashxor tehcrashxor enabled auto-merge (squash) October 19, 2023 21:44
@tehcrashxor tehcrashxor merged commit 5da2bdf into main Oct 19, 2023
@tehcrashxor tehcrashxor deleted the tehcrash-solutionimport-mutuallyexclusive branch October 19, 2023 21:56
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.

2 participants