diff options
Diffstat (limited to 'include/hostname_monitor.hpp')
-rw-r--r-- | include/hostname_monitor.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hostname_monitor.hpp b/include/hostname_monitor.hpp index 17fbe510c4..65a5c1c34a 100644 --- a/include/hostname_monitor.hpp +++ b/include/hostname_monitor.hpp @@ -16,7 +16,7 @@ static std::unique_ptr<sdbusplus::bus::match::match> hostnameSignalMonitor; inline void installCertificate(const std::filesystem::path& certPath) { crow::connections::systemBus->async_method_call( - [certPath](boost::system::error_code ec) { + [certPath](const boost::system::error_code ec) { if (ec) { BMCWEB_LOG_ERROR << "Replace Certificate Fail.."; |