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

sysdump: report error if NewCollector fails #596

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

tklauser
Copy link
Member

If sysdump.NewCollector fails for some reason (e.g. while collecting
Kubernetes nodes), report the error back to the user instead of ignoring
it and leaving the user in the dark about which step failed.

Fixes: d8d6f2d ("sysdump: Refactor absoluteTempPath")

If sysdump.NewCollector fails for some reason (e.g. while collecting
Kubernetes nodes), report the error back to the user instead of ignoring
it and leaving the user in the dark about which step failed.

Fixes: d8d6f2d ("sysdump: Refactor absoluteTempPath")
Signed-off-by: Tobias Klauser <[email protected]>
@tklauser tklauser requested a review from a team as a code owner October 26, 2021 10:03
@tklauser tklauser temporarily deployed to ci October 26, 2021 10:04 Inactive
Copy link
Member

@rolinh rolinh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@rolinh rolinh removed the request for review from michi-covalent October 26, 2021 11:07
@tklauser tklauser merged commit 472dd41 into master Oct 26, 2021
@tklauser tklauser deleted the pr/tklauser/sysdump-error-newcollector branch October 26, 2021 11:15
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.

3 participants