Style changes in activation.cpp
Style changes only.
Change-Id: I29127c1fa45bbe24fd252fb7c0fe95fb229d0129
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/activation.cpp b/activation.cpp
index d7f9e24..6d503ee 100644
--- a/activation.cpp
+++ b/activation.cpp
@@ -59,7 +59,7 @@
if (!activationProgress)
{
activationProgress = std::make_unique<ActivationProgress>(bus,
- path);
+ path);
}
if (!activationBlocksTransition)
@@ -156,7 +156,7 @@
parent.parent.freePriority(value, parent.versionId);
storeToFile(parent.versionId, value);
- if(parent.parent.isLowestPriority(value))
+ if (parent.parent.isLowestPriority(value))
{
parent.updateUbootEnvVars();
}
@@ -207,25 +207,25 @@
auto rwServiceFile = "obmc-flash-bmc-ubirw.service";
auto roServiceFile = "obmc-flash-bmc-ubiro@" + versionId + ".service";
- if(newStateUnit == rwServiceFile && newStateResult == "done")
+ if (newStateUnit == rwServiceFile && newStateResult == "done")
{
rwVolumeCreated = true;
activationProgress->progress(activationProgress->progress() + 20);
}
- if(newStateUnit == roServiceFile && newStateResult == "done")
+ if (newStateUnit == roServiceFile && newStateResult == "done")
{
roVolumeCreated = true;
activationProgress->progress(activationProgress->progress() + 50);
}
- if(rwVolumeCreated && roVolumeCreated)
+ if (rwVolumeCreated && roVolumeCreated)
{
Activation::activation(
softwareServer::Activation::Activations::Activating);
}
- if((newStateUnit == rwServiceFile || newStateUnit == roServiceFile) &&
+ if ((newStateUnit == rwServiceFile || newStateUnit == roServiceFile) &&
(newStateResult == "failed" || newStateResult == "dependency"))
{
Activation::activation(softwareServer::Activation::Activations::Failed);