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