Process json for Extra and Common Interfaces
This commit contains code to process json to check if the
record and keyword combination updated using write keyword
is a part of extra interfaces and common interfaces of
VPD inventory json.
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: I95333abec6e7a7ad6981621f89e6d6e7edc7ecc9
diff --git a/vpd-manager/manager.cpp b/vpd-manager/manager.cpp
index 766583d..dfcdc39 100644
--- a/vpd-manager/manager.cpp
+++ b/vpd-manager/manager.cpp
@@ -86,7 +86,7 @@
inventory::Path vpdFilePath = frus.find(path)->second;
// instantiate editor class to update the data
- EditorImpl edit(vpdFilePath, recordName, keyword);
+ EditorImpl edit(vpdFilePath, jsonFile, recordName, keyword);
edit.updateKeyword(value);
return;