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

Fix #128: Get ApiVersion from defaults, not XMLConfig #131

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

rtrox
Copy link
Collaborator

@rtrox rtrox commented Mar 21, 2023

Description of the change

Fixes #128 -- I think I got confused part way through writing this (we used to use the XMLConfig as defaults, so I'd written some logic around parsing ApiVersion from XMLConfig, and then later removed it when I realized ApiVersion wasn't actually in the upstream XML schema. It appears I missed one callsite, and this fell in a testing crack.

I've added a couple tests to ensure the config merges happen as expected.

Benefits

Possible drawbacks

Applicable issues

Additional information

Signed-off-by: Russell Troxel <russelltroxel@gmail.com>
@rtrox rtrox requested a review from onedr0p as a code owner March 21, 2023 14:57
@onedr0p onedr0p merged commit ba4b336 into master Mar 21, 2023
@onedr0p onedr0p deleted the xml_config_fix_128 branch March 21, 2023 17:54
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.

api-version is required to not be empty
2 participants