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/cable.hpp b/redfish-core/lib/cable.hpp
index a39d00a..a2d0b53 100644
--- a/redfish-core/lib/cable.hpp
+++ b/redfish-core/lib/cable.hpp
@@ -98,7 +98,7 @@
const boost::system::error_code& ec,
const dbus::utility::DBusPropertiesMap& properties) {
fillCableProperties(asyncResp->res, ec, properties);
- });
+ });
}
else if (interface == "xyz.openbmc_project.Inventory.Item")
{
@@ -123,7 +123,7 @@
{
asyncResp->res.jsonValue["Status"]["State"] = "Absent";
}
- });
+ });
}
}
}
@@ -184,8 +184,8 @@
return;
}
messages::resourceNotFound(asyncResp->res, "Cable", cableId);
- });
});
+ });
}
/**
@@ -212,7 +212,7 @@
collection_util::getCollectionMembers(
asyncResp, boost::urls::url("/redfish/v1/Cables"), interfaces,
"/xyz/openbmc_project/inventory");
- });
+ });
}
} // namespace redfish