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

Check for SNP before fetching SNP report #1967

Merged
merged 1 commit into from Nov 14, 2023

Conversation

darracott
Copy link
Contributor

@darracott darracott commented Nov 13, 2023

PR1886 changed the error type returned by the fetch SNP report code.

It transpires that when validating host data, we would always try to fetch the SNP report, even in non SNP mode, where we expect to get back an os.IsNotExist error and ignore it.

After PR1886 the SNP report fetch no longer returns an os.IsNotExist and so the new error is not ignored. This PR removes the reliance on the os.IsNotExist error.

Signed-off-by: Joe Powell <joepowell@microsoft.com>
@darracott darracott requested a review from a team as a code owner November 13, 2023 17:25
@helsaawy helsaawy merged commit c2a7ff6 into microsoft:main Nov 14, 2023
18 of 19 checks passed
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.

None yet

3 participants