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

Ignore NotFound errors when getting task stats #928

Merged

Conversation

katiewasnothere
Copy link
Contributor

@katiewasnothere katiewasnothere commented Jan 20, 2021

This PR updates the code path in hcsshim when querying for stats to handle errors in a similar way to upstream linux containers. This behavior ignores errors from stats queries if the error is Not Found, Does Not Exists, or Invalid State.

Signed-off-by: Kathryn Baldauf [email protected]

@katiewasnothere katiewasnothere requested a review from a team as a code owner January 20, 2021 20:02
@katiewasnothere
Copy link
Contributor Author

@jterry75 FYI

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