Spelling fixes in redfish-core
Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.
Change-Id: Iaac459596247a9063350a129d0458ebe0c0e39ce
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/redfish-core/lib/chassis.hpp b/redfish-core/lib/chassis.hpp
index 9f3fb38..c7f7b95 100644
--- a/redfish-core/lib/chassis.hpp
+++ b/redfish-core/lib/chassis.hpp
@@ -35,7 +35,7 @@
/**
* OnDemandChassisProvider
- * Chassis provider class that retrieves data directly from dbus, before seting
+ * Chassis provider class that retrieves data directly from dbus, before setting
* it into JSON output. This does not cache any data.
*
* Class can be a good example on how to scale different data providing
@@ -125,7 +125,7 @@
// is Chassis.
if (interface.first ==
"xyz.openbmc_project.Configuration.Chassis") {
- // Cut out everyting until last "/", ...
+ // Cut out everything until last "/", ...
const std::string &chassis_id = objpath.first.value;
std::size_t last_pos = chassis_id.rfind("/");
if (last_pos != std::string::npos) {
@@ -135,7 +135,7 @@
}
}
}
- // Finally make a callback with usefull data
+ // Finally make a callback with useful data
callback(true, chassis_list);
},
{"xyz.openbmc_project.EntityManager",