Codespell redfish-core spelling fixes
These spelling errors were found using
https://github.com/codespell-project/codespell
Tested: Top commit (along with this) was built and ran against
validator.
Change-Id: Ic9dce27b1de8567eedf7753164ef564d3aedf8ca
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/redfish-core/lib/ethernet.hpp b/redfish-core/lib/ethernet.hpp
index a76b01b..b1a9f69 100644
--- a/redfish-core/lib/ethernet.hpp
+++ b/redfish-core/lib/ethernet.hpp
@@ -880,7 +880,7 @@
}
};
// Passing null for gateway, as per redfish spec IPv6StaticAddresses object
- // does not have assosiated gateway property
+ // does not have associated gateway property
crow::connections::systemBus->async_method_call(
std::move(createIpHandler), "xyz.openbmc_project.Network",
"/xyz/openbmc_project/network/" + ifaceId,
@@ -936,7 +936,7 @@
}
extractIPV6Data(ethiface_id, resp, ipv6Data);
- // Finally make a callback with usefull data
+ // Finally make a callback with useful data
callback(true, ethData, ipv4Data, ipv6Data);
},
"xyz.openbmc_project.Network", "/xyz/openbmc_project/network",
@@ -978,7 +978,7 @@
if (interface.first ==
"xyz.openbmc_project.Network.EthernetInterface")
{
- // Cut out everyting until last "/", ...
+ // Cut out everything until last "/", ...
const std::string& iface_id = objpath.first.str;
std::size_t last_pos = iface_id.rfind("/");
if (last_pos != std::string::npos)