summaryrefslogtreecommitdiff
path: root/redfish-core
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-03-27 21:30:54 +0300
committerEd Tanous <ed@tanous.net>2024-03-28 00:47:56 +0300
commit5a8b641229ad1b1c14ae10b7772e5361503675c7 (patch)
tree46089aaec68a18dec2b644de65e9d609266b1f0e /redfish-core
parenta93163aa22c5c965d7f4af4bd7c1a19ecfb304cc (diff)
downloadbmcweb-5a8b641229ad1b1c14ae10b7772e5361503675c7.tar.xz
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>
Diffstat (limited to 'redfish-core')
-rw-r--r--redfish-core/lib/ethernet.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/redfish-core/lib/ethernet.hpp b/redfish-core/lib/ethernet.hpp
index 8ef8b5a44c..d1d47f5d42 100644
--- a/redfish-core/lib/ethernet.hpp
+++ b/redfish-core/lib/ethernet.hpp
@@ -2314,7 +2314,7 @@ inline void requestEthernetInterfacesRoutes(App& app)
{
return;
}
- //clang-format on
+ // clang-format on
if (dhcpv4)
{
if (!json_util::readJson(*dhcpv4, asyncResp->res, "DHCPEnabled",
@@ -2442,8 +2442,8 @@ inline void requestEthernetInterfacesRoutes(App& app)
{
handleMTUSizePatch(ifaceId, *mtuSize, asyncResp);
}
- });
});
+ });
BMCWEB_ROUTE(app, "/redfish/v1/Managers/bmc/EthernetInterfaces/<str>/")
.privileges(redfish::privileges::deleteEthernetInterface)
@@ -2460,11 +2460,11 @@ inline void requestEthernetInterfacesRoutes(App& app)
[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