Skip to content

Commit

Permalink
Delete FRU VPD if FRU is not present
Browse files Browse the repository at this point in the history
This commit adds code to delete FRU VPD over DBus if FRU is not
present.

Signed-off-by: RekhaAparna01 <[email protected]>
  • Loading branch information
RekhaAparna01 committed Jan 16, 2025
1 parent 6a8e56f commit 599e911
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vpd-manager/src/gpio_monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ void GpioEventHandler::handleChangeInGpioPin(const bool& i_isFruPresent)
}
else
{
// TODO -- Add implementation to Delete FRU if FRU is not present.
m_worker->deleteFruVpd(jsonUtility::getInventoryObjPathFromJson(
m_worker->getSysCfgJsonObj(), m_fruPath));
}
}
catch (std::exception& l_ex)
Expand Down

0 comments on commit 599e911

Please sign in to comment.