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 symlinks in sysfs when iterating directories #213

Merged
merged 1 commit into from
Sep 6, 2019

Conversation

pgier
Copy link
Collaborator

@pgier pgier commented Sep 5, 2019

Prevents error when attempting to read a symlink as a regular file.

Related to prometheus/node_exporter#1465

Prevents error when attempting to read a symlink as a regular file.

Signed-off-by: Paul Gier <pgier@redhat.com>
@pgier
Copy link
Collaborator Author

pgier commented Sep 5, 2019

Same problem as #206

Copy link
Member

@SuperQ SuperQ 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 8664f2c into prometheus:master Sep 6, 2019
bobrik pushed a commit to bobrik/procfs that referenced this pull request Jan 14, 2023
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