commit | cb5139dc81706368c8c6d8c889a4625b0249e875 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Thu Oct 24 11:22:51 2024 -0400 |
committer | Zhikui Ren <zhikui.ren@intel.com> | Fri Oct 25 22:19:27 2024 +0000 |
tree | bf44b8079a212ff19dd8a17da57acdf90ed9d152 | |
parent | 839290024a8c119716cd975134397db355aad947 [diff] |
sensorpaths: adjust case for 'utilization' The path case 'Utilization' doesn't match the dbus specifications. This issue was reported on Discord[1]. Change to lowercase to match the rest of the paths and the specifications. [1]: https://discord.com/channels/775381525260664832/1187158775438778408/1298446074738118797 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I16cf1f9dc327cce0ea14b252f41c55eff73ead9a
diff --git a/src/SensorPaths.cpp b/src/SensorPaths.cpp index e5ed60f..11e6dd9 100644 --- a/src/SensorPaths.cpp +++ b/src/SensorPaths.cpp
@@ -42,7 +42,7 @@ } if (units == "Percent" || units == unitPercent) { - return "Utilization"; + return "utilization"; } if (units == "Pascals" || units == unitPascals) {