-
Notifications
You must be signed in to change notification settings - Fork 320
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
Mark sysfs as Linux-only #365
Mark sysfs as Linux-only #365
Conversation
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
Maybe we should mark everything under |
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
Yep, agreed. Changed the PR to do this. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Do we need a second pair of eyes to get this merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, fell out of my TODO list. |
…freebsd Mark sysfs as Linux-only
The sysfs package is imported by node_exporter.
class_thermal
usesENODATA
, which doesn't exist on FreeBSD, so the build fails.Since sysfs is a Linux concept, this PR marks most of the functions within the package as Linux-only. Closes #359.