clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I2f0b9d0fb6e01ed36a2f34c750ba52de3b6d15d1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/redfish-core/lib/event_service.hpp b/redfish-core/lib/event_service.hpp
index fcde1a8..ea968af 100644
--- a/redfish-core/lib/event_service.hpp
+++ b/redfish-core/lib/event_service.hpp
@@ -129,11 +129,11 @@
std::optional<bool> serviceEnabled;
std::optional<uint32_t> retryAttemps;
std::optional<uint32_t> retryInterval;
- if (!json_util::readJsonPatch( //
- req, asyncResp->res, //
- "DeliveryRetryAttempts", retryAttemps, //
+ if (!json_util::readJsonPatch( //
+ req, asyncResp->res, //
+ "DeliveryRetryAttempts", retryAttemps, //
"DeliveryRetryIntervalSeconds", retryInterval, //
- "ServiceEnabled", serviceEnabled //
+ "ServiceEnabled", serviceEnabled //
))
{
return;
@@ -336,23 +336,23 @@
std::optional<std::vector<nlohmann::json::object_t>> headers;
std::optional<std::vector<nlohmann::json::object_t>> mrdJsonArray;
- if (!json_util::readJsonPatch( //
- req, asyncResp->res, //
- "Context", context, //
- "DeliveryRetryPolicy", retryPolicy, //
- "Destination", destUrl, //
- "EventFormatType", eventFormatType2, //
+ if (!json_util::readJsonPatch( //
+ req, asyncResp->res, //
+ "Context", context, //
+ "DeliveryRetryPolicy", retryPolicy, //
+ "Destination", destUrl, //
+ "EventFormatType", eventFormatType2, //
"HeartbeatIntervalMinutes", hbIntervalMinutes, //
- "HttpHeaders", headers, //
- "MessageIds", msgIds, //
- "MetricReportDefinitions", mrdJsonArray, //
- "OriginResources", originResources, //
- "Protocol", protocol, //
- "RegistryPrefixes", regPrefixes, //
- "ResourceTypes", resTypes, //
- "SendHeartbeat", sendHeartbeat, //
- "SubscriptionType", subscriptionType, //
- "VerifyCertificate", verifyCertificate //
+ "HttpHeaders", headers, //
+ "MessageIds", msgIds, //
+ "MetricReportDefinitions", mrdJsonArray, //
+ "OriginResources", originResources, //
+ "Protocol", protocol, //
+ "RegistryPrefixes", regPrefixes, //
+ "ResourceTypes", resTypes, //
+ "SendHeartbeat", sendHeartbeat, //
+ "SubscriptionType", subscriptionType, //
+ "VerifyCertificate", verifyCertificate //
))
{
return;
@@ -838,14 +838,14 @@
std::optional<bool> verifyCertificate;
std::optional<std::vector<nlohmann::json::object_t>> headers;
- if (!json_util::readJsonPatch( //
- req, asyncResp->res, //
- "Context", context, //
- "DeliveryRetryPolicy", retryPolicy, //
+ if (!json_util::readJsonPatch( //
+ req, asyncResp->res, //
+ "Context", context, //
+ "DeliveryRetryPolicy", retryPolicy, //
"HeartbeatIntervalMinutes", hbIntervalMinutes, //
- "HttpHeaders", headers, //
- "SendHeartbeat", sendHeartbeat, //
- "VerifyCertificate", verifyCertificate //
+ "HttpHeaders", headers, //
+ "SendHeartbeat", sendHeartbeat, //
+ "VerifyCertificate", verifyCertificate //
))
{
return;