clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I2f9540cf0d545a2da4d6289fc87b754f684bc9a7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/redfish-core/lib/virtual_media.hpp b/redfish-core/lib/virtual_media.hpp
index 95cbdf1..9784d37 100644
--- a/redfish-core/lib/virtual_media.hpp
+++ b/redfish-core/lib/virtual_media.hpp
@@ -120,7 +120,7 @@
BMCWEB_LOG_DEBUG("Parent item not found");
asyncResp->res.result(boost::beast::http::status::not_found);
- });
+ });
}
/**
@@ -303,7 +303,7 @@
members.emplace_back(std::move(item));
}
asyncResp->res.jsonValue["Members@odata.count"] = members.size();
- });
+ });
}
inline void
@@ -481,7 +481,7 @@
BMCWEB_LOG_ERROR("Failed to pass secret: {}", ec);
messages::internalError(asyncResp->res);
}
- });
+ });
}
dbus::utility::DbusVariantType unixFd(
@@ -504,7 +504,7 @@
BMCWEB_LOG_ERROR("Service responded with error");
messages::internalError(asyncResp->res);
}
- },
+ },
service, path.str, "xyz.openbmc_project.VirtualMedia.Legacy", "Mount",
imageUrl, rw, unixFd);
}
@@ -669,7 +669,7 @@
messages::internalError(asyncResp->res);
return;
}
- },
+ },
service, "/xyz/openbmc_project/VirtualMedia/Legacy/" + name,
"xyz.openbmc_project.VirtualMedia.Legacy", "Unmount");
}
@@ -684,7 +684,7 @@
messages::internalError(asyncResp->res);
return;
}
- },
+ },
service, "/xyz/openbmc_project/VirtualMedia/Proxy/" + name,
"xyz.openbmc_project.VirtualMedia.Proxy", "Unmount");
}
@@ -765,8 +765,8 @@
}
BMCWEB_LOG_DEBUG("Parent item not found");
messages::resourceNotFound(asyncResp->res, "VirtualMedia", resName);
- });
});
+ });
}
inline void handleManagersVirtualMediaActionEject(
@@ -828,8 +828,8 @@
}
BMCWEB_LOG_DEBUG("Parent item not found");
messages::resourceNotFound(asyncResp->res, "VirtualMedia", resName);
- });
});
+ });
}
inline void handleManagersVirtualMediaCollectionGet(
@@ -869,7 +869,7 @@
BMCWEB_LOG_DEBUG("GetObjectType: {}", service);
getVmResourceList(asyncResp, service, name);
- });
+ });
}
inline void
@@ -904,7 +904,7 @@
BMCWEB_LOG_DEBUG("GetObjectType: {}", service);
getVmData(asyncResp, service, name, resName);
- });
+ });
}
inline void requestNBDVirtualMediaRoutes(App& app)