summaryrefslogtreecommitdiff
path: root/redfish-core
diff options
context:
space:
mode:
authorAppaRao Puli <apparao.puli@linux.intel.com>2020-05-15 13:26:37 +0300
committerAppaRao Puli <apparao.puli@linux.intel.com>2020-05-15 13:32:42 +0300
commitab41ea10f7639cbcedc4cacbeb8530635eefc99c (patch)
tree84d46a049b28065effe24484510effb10bcfa06f /redfish-core
parent55fd1a9ba83d2562df415b5b48f2c91f53123fa2 (diff)
downloadbmcweb-ab41ea10f7639cbcedc4cacbeb8530635eefc99c.tar.xz
Conditional build issue fix
When BMCWEB_ENABLE_REDFISH_DBUS_LOG_ENTRIES is set to "ON", bmcweb build is failing. This flag is set to ON for some OEM and causing build failures. Corrected the placement of #endif. Tested: Set the BMCWEB_ENABLE_REDFISH_DBUS_LOG_ENTRIES compile flag to "ON" and build is successful. Change-Id: I88b3b40d0a22600c0f592219f8b7b976e7e6c5f5 Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
Diffstat (limited to 'redfish-core')
-rw-r--r--redfish-core/include/event_service_manager.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/include/event_service_manager.hpp b/redfish-core/include/event_service_manager.hpp
index 297e141099..2c0f189a18 100644
--- a/redfish-core/include/event_service_manager.hpp
+++ b/redfish-core/include/event_service_manager.hpp
@@ -253,9 +253,9 @@ int formatEventLogEntry(const std::string& logEntryID,
{"Context", customText}};
return 0;
}
-#endif
} // namespace event_log
+#endif
class Subscription
{