fix: osinfos incomplete in case of warnings (#11505)
The function used for getting host information (host.SensorsTemperaturesWithContext) returns warnings in some cases. Returning with error in such cases means we miss out on the other useful information already fetched (os info). If the OS info has been succesfully fetched, it should always be included in the output irrespective of whether the other data (CPU sensors, users) could be fetched or not.master
parent
93fd248b52
commit
928de04f7a
Loading…
Reference in new issue