Rename Sensor class variable
The name of the entity-manager D-Bus interface the sensor was created
from was stored in a variable called objectType. Rename that to
configInterface to make it obvious it's an interface name.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I5258ebf12c6aa565a6a2ea286cd2724fd54cf986
diff --git a/src/NVMeSensorMain.cpp b/src/NVMeSensorMain.cpp
index 9483a3d..237c37d 100644
--- a/src/NVMeSensorMain.cpp
+++ b/src/NVMeSensorMain.cpp
@@ -235,7 +235,7 @@
}
auto interface = std::find(interfaces.begin(), interfaces.end(),
- (*sensor)->objectType);
+ (*sensor)->configInterface);
if (interface == interfaces.end())
{
continue;