From b0b395b670b6e496dda0ce117e1b5a1e195ab0e9 Mon Sep 17 00:00:00 2001 From: Marri Devender Rao Date: Tue, 24 Oct 2017 10:14:14 -0500 Subject: 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 --- elog-errors.hpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'elog-errors.hpp') 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 +struct map_exception_type { - using type = org::open_power::Host::Event::Event; + using type = org::open_power::Host::Event; }; } -- cgit v1.2.1