Change the the namespace of OpenPOWER dumps.
Change the namespace of OpenPOWER dumps to openpower
instead of phosphor.
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: I0b99da60cb19f3cf559ce40c971b3ba6f4888238
diff --git a/dump-extensions/openpower-dumps/dump_manager_resource.cpp b/dump-extensions/openpower-dumps/dump_manager_resource.cpp
index cde0d52..76580ee 100644
--- a/dump-extensions/openpower-dumps/dump_manager_resource.cpp
+++ b/dump-extensions/openpower-dumps/dump_manager_resource.cpp
@@ -9,7 +9,7 @@
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/elog.hpp>
-namespace phosphor
+namespace openpower
{
namespace dump
{
@@ -32,8 +32,8 @@
// if not the source id will stay as invalid one.
for (auto& entry : entries)
{
- phosphor::dump::resource::Entry* resEntry =
- dynamic_cast<phosphor::dump::resource::Entry*>(entry.second.get());
+ openpower::dump::resource::Entry* resEntry =
+ dynamic_cast<openpower::dump::resource::Entry*>(entry.second.get());
if ((resEntry->status() ==
phosphor::dump::OperationStatus::InProgress) &&
((resEntry->sourceDumpId() == dumpId) ||
@@ -123,4 +123,4 @@
} // namespace resource
} // namespace dump
-} // namespace phosphor
+} // namespace openpower