Resolve error when input fault clears
Change-Id: I3e670f77815791852268a727c3b75bb445c099d3
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
diff --git a/power-supply/power_supply.cpp b/power-supply/power_supply.cpp
index f1c0f81..af611f0 100644
--- a/power-supply/power_supply.cpp
+++ b/power-supply/power_supply.cpp
@@ -269,6 +269,9 @@
log<level::INFO>("INPUT_FAULT_WARN cleared",
entry("POWERSUPPLY=%s", inventoryPath.c_str()));
+ resolveError(inventoryPath,
+ std::string(PowerSupplyInputFault::errName));
+
if (powerOn)
{
// The power supply will not be immediately powered on after