Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: Icafafe827d67c9b6cc5c3f6bfb204fe425e91a32
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/src/activation.cpp b/src/activation.cpp
index 1ecfd47..e3f7eb9 100644
--- a/src/activation.cpp
+++ b/src/activation.cpp
@@ -139,7 +139,7 @@
void Activation::onUpdateFailed()
{
// TODO: report an event
- log<level::ERR>("Failed to udpate PSU",
+ log<level::ERR>("Failed to update PSU",
entry("PSU=%s", psuQueue.front().c_str()));
std::queue<std::string>().swap(psuQueue); // Clear the queue
activation(Status::Failed);
@@ -199,7 +199,7 @@
// The progress to be increased for each successful update of PSU
// E.g. in case we have 4 PSUs:
- // 1. Initial progrss is 10
+ // 1. Initial progress is 10
// 2. Add 20 after each update is done, so we will see progress to be 30,
// 50, 70, 90
// 3. When all PSUs are updated, it will be 100 and the interface is
diff --git a/src/activation.hpp b/src/activation.hpp
index fc32827..f30ba9f 100644
--- a/src/activation.hpp
+++ b/src/activation.hpp
@@ -222,7 +222,7 @@
/** @brief Finish PSU update */
void finishActivation();
- /** @brief Check if the PSU is comaptible with this software*/
+ /** @brief Check if the PSU is compatible with this software*/
bool isCompatible(const std::string& psuInventoryPath);
/** @brief Store the updated PSU image to persistent dir */
diff --git a/src/item_updater.hpp b/src/item_updater.hpp
index b0e04eb..0ff2600 100644
--- a/src/item_updater.hpp
+++ b/src/item_updater.hpp
@@ -152,7 +152,7 @@
const std::string& psuVersion);
/** @brief Remove Activation and Version object for PSU inventory
- * @details If the same version exists for mutliple PSUs, just remove
+ * @details If the same version exists for multiple PSUs, just remove
* related association.
* If the version has no association, the Activation and
* Version object will be removed
diff --git a/test/test_item_updater.cpp b/test/test_item_updater.cpp
index 2fe1c86..e62b2a8 100644
--- a/test/test_item_updater.cpp
+++ b/test/test_item_updater.cpp
@@ -555,7 +555,7 @@
.WillOnce(Return(true));
itemUpdater->onUpdateDone(newVersionId, psu0);
- // Now the activation should have one assoiation
+ // Now the activation should have one association
assocs = activation->associations();
EXPECT_EQ(1u, assocs.size());
EXPECT_EQ(psu1, std::get<2>(assocs[0]));