summaryrefslogtreecommitdiff
path: root/include/image_upload.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/image_upload.hpp')
-rw-r--r--include/image_upload.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/image_upload.hpp b/include/image_upload.hpp
index f5c81101c1..ef615cb3b8 100644
--- a/include/image_upload.hpp
+++ b/include/image_upload.hpp
@@ -68,8 +68,8 @@ inline void
m.read(path, interfaces);
if (std::ranges::find_if(interfaces, [](const auto& i) {
- return i.first == "xyz.openbmc_project.Software.Version";
- }) != interfaces.end())
+ return i.first == "xyz.openbmc_project.Software.Version";
+ }) != interfaces.end())
{
timeout.cancel();
std::string leaf = path.filename();
@@ -115,7 +115,7 @@ inline void requestRoutes(App& app)
[](const crow::Request& req,
const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) {
uploadImageHandler(req, asyncResp);
- });
+ });
}
} // namespace image_upload
} // namespace crow