Revert the merged update cache snippet in vpd-manager
Caught unused parameter error in vpd-manager test cases
when building with the ecc support.
Fixed it in this commit.
Signed-off-by: PriyangaRamasamy <priyanga24@in.ibm.com>
Change-Id: I075028d4a9a21fc0b7ba23739973ff106789c64a
diff --git a/vpd-manager/editor_impl.cpp b/vpd-manager/editor_impl.cpp
index 23079f2..df1441c 100644
--- a/vpd-manager/editor_impl.cpp
+++ b/vpd-manager/editor_impl.cpp
@@ -650,13 +650,13 @@
// update the ECC data for the record once data has been updated
updateRecordECC();
-#ifndef ManagerTest
if (updCache)
{
+#ifndef ManagerTest
// update the cache once data has been updated
updateCache();
- }
#endif
+ }
}
catch (const std::exception& e)
{