Move getErrCodeMsg API to common_utility
This commit moves the getErrCodeMsg API from vpd_specific_utility to
common_utility file, to make it accessible to the other utility files.
Change-Id: Ib0aeeb2386ba2c55f2447d65a3be18b76eff46f3
Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
diff --git a/vpd-manager/src/manager.cpp b/vpd-manager/src/manager.cpp
index dd94d3b..ca77491 100644
--- a/vpd-manager/src/manager.cpp
+++ b/vpd-manager/src/manager.cpp
@@ -194,7 +194,7 @@
{
logging::logMessage(
"Failed to get FRU path from JSON for [" + i_vpdPath +
- "], error : " + vpdSpecificUtility::getErrCodeMsg(l_errCode));
+ "], error : " + commonUtility::getErrCodeMsg(l_errCode));
}
l_fruPath = i_vpdPath;