PEL: Update Deconfig D-Bus property after clear
When a fan or power supply is replaced, the deconfig flag field in the
PEL is cleared. There is also a Deconfig property on D-Bus that should
match the PEL field, but the code to clear that was missed, so add it.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I6fc971953b6e4d1e1c2da421bbc920923b199dbb
diff --git a/extensions/openpower-pels/repository.hpp b/extensions/openpower-pels/repository.hpp
index 7bb7a11..f64efb4 100644
--- a/extensions/openpower-pels/repository.hpp
+++ b/extensions/openpower-pels/repository.hpp
@@ -465,8 +465,10 @@
*
* @param[in] path - The file path to use
* @param[in] updateFunc - The function to run to update the PEL.
+ *
+ * @return bool - If the PEL was updated or not.
*/
- void updatePEL(const std::filesystem::path& path, PELUpdateFunc updateFunc);
+ bool updatePEL(const std::filesystem::path& path, PELUpdateFunc updateFunc);
private:
/**