PEL: Fix typo in function name
Change-Id: I8d6907344151c803e91afdf8c6c3deb904ec315e
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/extensions/openpower-pels/data_interface.cpp b/extensions/openpower-pels/data_interface.cpp
index b812e97..b31bd8d 100644
--- a/extensions/openpower-pels/data_interface.cpp
+++ b/extensions/openpower-pels/data_interface.cpp
@@ -986,7 +986,7 @@
auto itemIt = interfaces.find(interface::invItem);
if (itemIt != interfaces.end())
{
- notifyPresenceSubsribers(path.str, itemIt->second);
+ notifyPresenceSubscribers(path.str, itemIt->second);
}
}
@@ -1002,11 +1002,11 @@
}
std::string path = msg.get_path();
- notifyPresenceSubsribers(path, properties);
+ notifyPresenceSubscribers(path, properties);
}
-void DataInterface::notifyPresenceSubsribers(const std::string& path,
- const DBusPropertyMap& properties)
+void DataInterface::notifyPresenceSubscribers(const std::string& path,
+ const DBusPropertyMap& properties)
{
auto prop = properties.find("Present");
if ((prop == properties.end()) || (!std::get<bool>(prop->second)))
diff --git a/extensions/openpower-pels/data_interface.hpp b/extensions/openpower-pels/data_interface.hpp
index 29ba22e..0deebf8 100644
--- a/extensions/openpower-pels/data_interface.hpp
+++ b/extensions/openpower-pels/data_interface.hpp
@@ -1012,8 +1012,8 @@
* @param[in] path - The object path of the inventory item.
* @param[in] properties - The properties map
*/
- void notifyPresenceSubsribers(const std::string& path,
- const DBusPropertyMap& properties);
+ void notifyPresenceSubscribers(const std::string& path,
+ const DBusPropertyMap& properties);
/**
* @brief Adds the Ufcs- prefix to the location code passed in