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

Regenerate machine config when asserts fail #37

Closed
wants to merge 1 commit into from

Conversation

oruebel
Copy link
Contributor

@oruebel oruebel commented Mar 8, 2024

Fix #36

Regenerating the machine configuration when it is out of date failed on my machine because expected keys where missing in machine configuration so that KeyError was raised instead of regenerating the file.

This PR adds explicit asserts for the keys that are being used and uses asserts also for checking that the machine information is current.

@oruebel oruebel enabled auto-merge (squash) March 8, 2024 02:11
@oruebel oruebel added the category: bug errors in the code or code behavior label Mar 8, 2024
@oruebel
Copy link
Contributor Author

oruebel commented Mar 11, 2024

This PR is superseded by #38

@oruebel oruebel closed this Mar 11, 2024
auto-merge was automatically disabled March 11, 2024 15:30

Pull request was closed

@oruebel oruebel deleted the fix/regen_machine_config branch March 11, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: bug errors in the code or code behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regenerating an out-of-date environment json fails
1 participant