Fixed the duplicated event string in error message
The message for the host event was org.open_power.Host.Event.Error.Event,
it is corrected to org.open_power.Host.Error.Event.
Resolves openbmc/openbmc#1960
Change-Id: I86304b1f2e4bec740e2e9ec58f98ea9df0d752ea
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
diff --git a/error-HostEvent.hpp b/error-HostEvent.hpp
index f8abf21..186e28e 100644
--- a/error-HostEvent.hpp
+++ b/error-HostEvent.hpp
@@ -10,18 +10,16 @@
{
namespace Host
{
-namespace Event
-{
namespace Error
{
struct Event final : public sdbusplus::exception_t
{
- static constexpr auto errName = "org.open_power.Host.Event.Error.Event";
+ static constexpr auto errName = "org.open_power.Host.Error.Event";
static constexpr auto errDesc =
"A host system event was received";
static constexpr auto errWhat =
- "org.open_power.Host.Event.Error.Event: A host system event was received";
+ "org.open_power.Host.Error.Event: A host system event was received";
const char* name() const noexcept override;
const char* description() const noexcept override;
@@ -29,7 +27,6 @@
};
} // namespace Error
-} // namespace Event
} // namespace Host
} // namespace open_power
} // namespace org