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/HwmonTempMain.cpp b/src/HwmonTempMain.cpp
index 557fe3c..fda3053 100644
--- a/src/HwmonTempMain.cpp
+++ b/src/HwmonTempMain.cpp
@@ -615,7 +615,7 @@
{
if ((sensorIt->second->configurationPath == path) &&
(std::find(interfaces.begin(), interfaces.end(),
- sensorIt->second->objectType) != interfaces.end()))
+ sensorIt->second->configInterface) != interfaces.end()))
{
sensorIt = sensors.erase(sensorIt);
}