Fix clang-formatting in ethernet
Current code has
//clang-format on
When it should have
// clang-format on
The difference is subtle, but disables formatting for this whole file.
Re-enable and fix the couple of problems.
Tested: Whitespace only.
Change-Id: Ia155226327d4d611eb2c0f5232274459866e81cc
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/redfish-core/lib/ethernet.hpp b/redfish-core/lib/ethernet.hpp
index 8ef8b5a..d1d47f5 100644
--- a/redfish-core/lib/ethernet.hpp
+++ b/redfish-core/lib/ethernet.hpp
@@ -2314,7 +2314,7 @@
{
return;
}
- //clang-format on
+ // clang-format on
if (dhcpv4)
{
if (!json_util::readJson(*dhcpv4, asyncResp->res, "DHCPEnabled",
@@ -2442,8 +2442,8 @@
{
handleMTUSizePatch(ifaceId, *mtuSize, asyncResp);
}
- });
});
+ });
BMCWEB_ROUTE(app, "/redfish/v1/Managers/bmc/EthernetInterfaces/<str>/")
.privileges(redfish::privileges::deleteEthernetInterface)
@@ -2460,11 +2460,11 @@
[asyncResp, ifaceId](const boost::system::error_code& ec,
const sdbusplus::message_t& m) {
afterDelete(asyncResp, ifaceId, ec, m);
- },
+ },
"xyz.openbmc_project.Network",
std::string("/xyz/openbmc_project/network/") + ifaceId,
"xyz.openbmc_project.Object.Delete", "Delete");
- });
+ });
}
} // namespace redfish