summaryrefslogtreecommitdiff
path: root/include/openbmc_dbus_rest.hpp
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2020-07-08 22:46:53 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-07-10 19:48:10 +0300
commitcaa3ce3cd0c310185034ba25c0f8464909fa54cb (patch)
treeee93e043240de8cf6451e76d21283a0af55c5322 /include/openbmc_dbus_rest.hpp
parent4e0453b11cf4780b06c73643ce31e6bc1809b7cf (diff)
downloadbmcweb-caa3ce3cd0c310185034ba25c0f8464909fa54cb.tar.xz
Codespell spelling fixes
These spelling errors were found using https://github.com/codespell-project/codespell Tested: Built and ran against validator. Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Change-Id: I214fe102550295578cfdf0fc58305897d261ce55
Diffstat (limited to 'include/openbmc_dbus_rest.hpp')
-rw-r--r--include/openbmc_dbus_rest.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openbmc_dbus_rest.hpp b/include/openbmc_dbus_rest.hpp
index 456c768ab4..ea7dc951b2 100644
--- a/include/openbmc_dbus_rest.hpp
+++ b/include/openbmc_dbus_rest.hpp
@@ -2079,7 +2079,7 @@ void requestRoutes(Crow<Middlewares...>& app)
.requires({"Login"})
.methods("GET"_method)(
[](const crow::Request& req, crow::Response& res) {
- res.jsonValue = {{"busses", {{{"name", "system"}}}},
+ res.jsonValue = {{"buses", {{{"name", "system"}}}},
{"status", "ok"}};
res.end();
});
@@ -2253,7 +2253,7 @@ void requestRoutes(Crow<Middlewares...>& app)
if (it->find(".") != std::string::npos)
{
break;
- // This check is neccesary as the trailing slash gets
+ // This check is necessary as the trailing slash gets
// parsed as part of our <path> specifier above, which
// causes the normal trailing backslash redirector to
// fail.