diff options
Diffstat (limited to 'app/watchdog_service.hpp')
-rw-r--r-- | app/watchdog_service.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/watchdog_service.hpp b/app/watchdog_service.hpp index 432c7ce..e93b7f3 100644 --- a/app/watchdog_service.hpp +++ b/app/watchdog_service.hpp @@ -2,6 +2,8 @@ #include <sdbusplus/bus.hpp> #include <xyz/openbmc_project/State/Watchdog/server.hpp> +#include "utils.hpp" + /** @class WatchdogService * @brief Access to the running OpenBMC watchdog implementation. * @details Easy accessor for servers that implement the @@ -67,7 +69,7 @@ class WatchdogService { /** @brief sdbusplus handle */ sdbusplus::bus::bus bus; /** @brief The name of the mapped host watchdog service */ - const std::string wd_service; + static ipmi::ServiceCache wd_service; /** @brief Sets the value of the property on the host watchdog * |