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

Fix MDStat() error return #302

Merged
merged 1 commit into from
May 27, 2020
Merged

Fix MDStat() error return #302

merged 1 commit into from
May 27, 2020

Conversation

SuperQ
Copy link
Member

@SuperQ SuperQ commented May 27, 2020

Don't touch the ioutil error message so that the return can be tested
with os.IsNotExist().

Related to prometheus/node_exporter#1719

Signed-off-by: Ben Kochie [email protected]

Don't touch the ioutil error message so that the return can be tested
with `os.IsNotExist()`.

Related to prometheus/node_exporter#1719

Signed-off-by: Ben Kochie <[email protected]>
@SuperQ SuperQ requested a review from pgier May 27, 2020 05:56
Copy link
Collaborator

@pgier pgier left a comment

Choose a reason for hiding this comment

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

LGTM

@pgier pgier merged commit 5bc20c5 into master May 27, 2020
@SuperQ SuperQ deleted the superq/mdstat_err branch May 27, 2020 14:13
remijouannet pushed a commit to remijouannet/procfs that referenced this pull request Oct 20, 2022
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