clang-format: copy latest and re-format
clang-format-16 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: I4530f5b9df4f5898e26a2eef7efcf82e9728197f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/ubi/activation_ubi.cpp b/ubi/activation_ubi.cpp
index 205c393..3bb7c25 100644
--- a/ubi/activation_ubi.cpp
+++ b/ubi/activation_ubi.cpp
@@ -24,7 +24,6 @@
auto ActivationUbi::activation(Activations value) -> Activations
{
-
if (value != softwareServer::Activation::Activations::Active)
{
redundancyPriority.reset(nullptr);
@@ -119,8 +118,8 @@
}
constexpr auto ubimountService = "obmc-flash-bios-ubimount@";
- auto ubimountServiceFile =
- std::string(ubimountService) + versionId + ".service";
+ auto ubimountServiceFile = std::string(ubimountService) + versionId +
+ ".service";
auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH,
SYSTEMD_INTERFACE, "StartUnit");
method.append(ubimountServiceFile, "replace");
@@ -139,8 +138,8 @@
// Read the msg and populate each variable
msg.read(newStateID, newStateObjPath, newStateUnit, newStateResult);
- auto ubimountServiceFile =
- "obmc-flash-bios-ubimount@" + versionId + ".service";
+ auto ubimountServiceFile = "obmc-flash-bios-ubimount@" + versionId +
+ ".service";
if (newStateUnit == ubimountServiceFile && newStateResult == "done")
{
@@ -169,8 +168,8 @@
// Set Redundancy Priority before setting to Active
if (!redundancyPriority)
{
- redundancyPriority =
- std::make_unique<RedundancyPriorityUbi>(bus, path, *this, 0);
+ redundancyPriority = std::make_unique<RedundancyPriorityUbi>(bus, path,
+ *this, 0);
}
activationProgress->progress(100);