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/fabric_adapters.hpp b/redfish-core/lib/fabric_adapters.hpp
index 317348f..a8373a1 100644
--- a/redfish-core/lib/fabric_adapters.hpp
+++ b/redfish-core/lib/fabric_adapters.hpp
@@ -58,7 +58,7 @@
asyncResp->res.jsonValue["Location"]["PartLocation"]["ServiceLabel"] =
property;
- });
+ });
}
inline void
@@ -117,7 +117,7 @@
{
asyncResp->res.jsonValue["SparePartNumber"] = *sparePartNumber;
}
- });
+ });
}
inline void
@@ -143,7 +143,7 @@
{
asyncResp->res.jsonValue["Status"]["State"] = "Absent";
}
- });
+ });
}
inline void
@@ -170,7 +170,7 @@
{
asyncResp->res.jsonValue["Status"]["Health"] = "Critical";
}
- });
+ });
}
inline void doAdapterGet(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp,
@@ -242,7 +242,7 @@
}
BMCWEB_LOG_WARNING("Adapter not found");
messages::resourceNotFound(asyncResp->res, "FabricAdapter", adapterId);
- });
+ });
}
inline void
@@ -269,7 +269,7 @@
const std::string& serviceName) {
doAdapterGet(asyncResp, systemName, adapterId, fabricAdapterPath,
serviceName);
- });
+ });
}
inline void handleFabricAdapterCollectionGet(