Pass redfishPropertyName earlier argument
It was pointed out that the setDbusProperty method should have an end
that approximately matches dbus-send and busctl set-property in its
arguments, to aid with debug. This seems reasonable.
Tested: Redfish service validator passes.
Change-Id: Ic20295d93c71c957e3e76704e1eda9da187861b1
Signed-off-by: Ginu George <ginugeorge@ami.com>
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index 34a3aff..da2d1b5 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -2102,10 +2102,10 @@
}
BMCWEB_LOG_DEBUG("Set Resolved");
- setDbusProperty(asyncResp, "xyz.openbmc_project.Logging",
+ setDbusProperty(asyncResp, "Resolved", "xyz.openbmc_project.Logging",
"/xyz/openbmc_project/logging/entry/" + entryId,
"xyz.openbmc_project.Logging.Entry", "Resolved",
- "Resolved", *resolved);
+ *resolved);
});
BMCWEB_ROUTE(