summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Shen <gpgpgp@google.com>2023-08-24 16:41:53 +0300
committerMichael Shen <gpgpgp@google.com>2023-08-24 17:36:51 +0300
commit80f79a40741e254db5bfb7207856f49c24054ecd (patch)
treef395f8531777ed377dc34f6a10f87b652ac1a04a /include
parenta716aa74954617e32a1d2e691d184580402b3eaf (diff)
downloadbmcweb-80f79a40741e254db5bfb7207856f49c24054ecd.tar.xz
Fix typo `DBusInteracesMap` -> `DBusInterfacesMap`
Change-Id: I9a851076eccee9d79ad7bb036e58b717e06ad5d1 Signed-off-by: Michael Shen <gpgpgp@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/dbus_utility.hpp5
-rw-r--r--include/image_upload.hpp2
2 files changed, 4 insertions, 3 deletions
diff --git a/include/dbus_utility.hpp b/include/dbus_utility.hpp
index 948b8f0965..a8eefd5c1f 100644
--- a/include/dbus_utility.hpp
+++ b/include/dbus_utility.hpp
@@ -78,9 +78,10 @@ using DbusVariantType = std::variant<
// clang-format on
using DBusPropertiesMap = std::vector<std::pair<std::string, DbusVariantType>>;
-using DBusInteracesMap = std::vector<std::pair<std::string, DBusPropertiesMap>>;
+using DBusInterfacesMap =
+ std::vector<std::pair<std::string, DBusPropertiesMap>>;
using ManagedObjectType =
- std::vector<std::pair<sdbusplus::message::object_path, DBusInteracesMap>>;
+ std::vector<std::pair<sdbusplus::message::object_path, DBusInterfacesMap>>;
// Map of service name to list of interfaces
using MapperServiceMap =
diff --git a/include/image_upload.hpp b/include/image_upload.hpp
index 2e3e689c0e..f5c81101c1 100644
--- a/include/image_upload.hpp
+++ b/include/image_upload.hpp
@@ -64,7 +64,7 @@ inline void
BMCWEB_LOG_DEBUG("Match fired");
sdbusplus::message::object_path path;
- dbus::utility::DBusInteracesMap interfaces;
+ dbus::utility::DBusInterfacesMap interfaces;
m.read(path, interfaces);
if (std::ranges::find_if(interfaces, [](const auto& i) {