You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On FreeBSD, Darwin, and Windows, builds using host.Warnings now fail. It appears that this was removed in #1347, but then re-added only for Linux in #1379. Telegraf uses these warnings with the call to host.SensorsTemperatures() as it seems to almost always return an error. We need to unwrap the error to see if it contains only a warning:
Describe the bug
On FreeBSD, Darwin, and Windows, builds using
host.Warnings
now fail. It appears that this was removed in #1347, but then re-added only for Linux in #1379. Telegraf uses these warnings with the call tohost.SensorsTemperatures()
as it seems to almost always return an error. We need to unwrap the error to see if it contains only a warning:To Reproduce
Expected behavior
Sensors print out results, ignoring warnings:
Environment (please complete the following information):
ver
]/etc/os-release
and the result ofuname -a
]sw_vers
anduname -a
freebsd-version -k -r -u
anduname -a
]uname -a
]Additional context
Yes we are cross-compiling, this was reported to us in Telegraf in influxdata/telegraf#12841
The text was updated successfully, but these errors were encountered: