-
Notifications
You must be signed in to change notification settings - Fork 324
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
Error parsing /sys/class/power_supply
#205
Labels
Comments
shaardie
added a commit
to shaardie/procfs
that referenced
this issue
Sep 2, 2019
The file `/sys/class/power_supply/<power_supply>/device` is a symlink to a directory, but it is read as a regular file. This commit fixes this problem and tries to solve prometheus#205. Also it updates the fixtures.ttar file and add the symlink in it to better represent the situation on the pc. Signed-off-by: Sven Haardiek <sven@haardiek.de>
pgier
pushed a commit
that referenced
this issue
Sep 5, 2019
The file `/sys/class/power_supply/<power_supply>/device` is a symlink to a directory, but it is read as a regular file. This commit fixes this problem and tries to solve #205. Also it updates the fixtures.ttar file and add the symlink in it to better represent the situation on the pc. Signed-off-by: Sven Haardiek <sven@haardiek.de>
Fixed by #206 |
remijouannet
pushed a commit
to remijouannet/procfs
that referenced
this issue
Oct 20, 2022
The file `/sys/class/power_supply/<power_supply>/device` is a symlink to a directory, but it is read as a regular file. This commit fixes this problem and tries to solve prometheus#205. Also it updates the fixtures.ttar file and add the symlink in it to better represent the situation on the pc. Signed-off-by: Sven Haardiek <sven@haardiek.de>
bobrik
pushed a commit
to bobrik/procfs
that referenced
this issue
Jan 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a problem while parsing the
/sys/class/power_supply/<power_supply>/device
, since this is a symlink to a directory, butsysfs/class_power_supply.go
tries to read it like a regular file.The text was updated successfully, but these errors were encountered: