summaryrefslogtreecommitdiff
path: root/include/openbmc_dbus_rest.hpp
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2023-06-28 03:17:13 +0300
committerEd Tanous <edtanous@google.com>2023-06-28 04:27:41 +0300
commit8b24275d7696c9df071d11e16a0f905b1e800163 (patch)
treebb529fd38f536420b8cba8207903246b2d2a0a95 /include/openbmc_dbus_rest.hpp
parente81de5126d8b9412bd703b8b11a1f5daa7bd83d4 (diff)
downloadbmcweb-8b24275d7696c9df071d11e16a0f905b1e800163.tar.xz
Rename all error_code instances to ec
We're not consistent here, which leads to people copying and pasting code all over, which has lead to a bunch of different names for error codes. This commit changes to coerce them all to "ec", because that's what boost uses for a naming convention. Tested: Rename only, code compiles. Change-Id: I7053cc738faa9f7a82f55fc46fc78618bdf702a5 Signed-off-by: Ed Tanous <edtanous@google.com>
Diffstat (limited to 'include/openbmc_dbus_rest.hpp')
-rw-r--r--include/openbmc_dbus_rest.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openbmc_dbus_rest.hpp b/include/openbmc_dbus_rest.hpp
index 4dbf12e910..480736124d 100644
--- a/include/openbmc_dbus_rest.hpp
+++ b/include/openbmc_dbus_rest.hpp
@@ -2369,9 +2369,9 @@ inline void
nlohmann::json& propertyItem = propertiesObj[name];
crow::connections::systemBus->async_send(
m, [&propertyItem,
- asyncResp](const boost::system::error_code& e,
+ asyncResp](const boost::system::error_code& ec2,
sdbusplus::message_t& msg) {
- if (e)
+ if (ec2)
{
return;
}