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

[LAD 4.0] Change User-Generated Errors to Return Non-Zero #1709

Open
wants to merge 3 commits into
base: release/lad4.0
Choose a base branch
from

Conversation

aswatt
Copy link
Contributor

@aswatt aswatt commented May 2, 2023

Initially LAD would return success on user errors (invalid config, not supported OS, etc) as a legacy ability to not impede VM startup. However, this was causing confusion when LAD would return success in a failure scenario. Changed these scenarios to instead return failure, as LAD was not able to successfully start up.

@aswatt aswatt requested a review from a team as a code owner May 2, 2023 21:32
@aswatt aswatt requested a review from AaronRM May 2, 2023 21:33
@aswatt aswatt mentioned this pull request May 2, 2023
@aswatt
Copy link
Contributor Author

aswatt commented May 2, 2023

Originally created based off of master branch: #1693

Changed to this PR to instead base off of release/lad4.0 branch.

Diagnostic/diagnostic.py Outdated Show resolved Hide resolved
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