summaryrefslogtreecommitdiffstats
path: root/elog-errors.hpp
diff options
context:
space:
mode:
authorMarri Devender Rao <devenrao@in.ibm.com>2017-10-24 10:14:14 -0500
committerTom Joseph <tomjoseph@in.ibm.com>2017-11-03 17:54:28 +0530
commitb0b395b670b6e496dda0ce117e1b5a1e195ab0e9 (patch)
treee6cb4c407159c927ccee5f5455fd126da9e82fea /elog-errors.hpp
parent8991dd62b7678ce012c545de01d36959b6e5b940 (diff)
downloadphosphor-host-ipmid-b0b395b670b6e496dda0ce117e1b5a1e195ab0e9.tar.gz
phosphor-host-ipmid-b0b395b670b6e496dda0ce117e1b5a1e195ab0e9.zip
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>
Diffstat (limited to 'elog-errors.hpp')
-rw-r--r--elog-errors.hpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/elog-errors.hpp b/elog-errors.hpp
index 73e2dc1..02649f4 100644
--- a/elog-errors.hpp
+++ b/elog-errors.hpp
@@ -37,13 +37,10 @@ namespace open_power
{
namespace Host
{
-namespace Event
-{
namespace Error
{
struct Event;
} // namespace Error
-} // namespace Event
} // namespace Host
} // namespace open_power
} // namespace org
@@ -1199,8 +1196,6 @@ namespace open_power
{
namespace Host
{
-namespace Event
-{
namespace _Event
{
@@ -1224,7 +1219,6 @@ struct Event
};
-} // namespace Event
} // namespace Host
} // namespace open_power
} // namespace org
@@ -1234,9 +1228,9 @@ namespace details
{
template <>
-struct map_exception_type<sdbusplus::org::open_power::Host::Event::Error::Event>
+struct map_exception_type<sdbusplus::org::open_power::Host::Error::Event>
{
- using type = org::open_power::Host::Event::Event;
+ using type = org::open_power::Host::Event;
};
}
OpenPOWER on IntegriCloud