summaryrefslogtreecommitdiff
path: root/controller
diff options
context:
space:
mode:
authorBrenton Bostick <[email protected]>2023-05-19 13:21:24 -0400
committerGitHub <[email protected]>2023-05-19 19:21:24 +0200
commitda71e2524c343f563ea9c37e9668eec7c5719aaa (patch)
treed78db344c4a862f729ec99688646258156b9196e /controller
parentf3da2b403128b6c4ccc80c6ef2be1ac7b245b637 (diff)
fix typos (#2010)
Diffstat (limited to 'controller')
-rw-r--r--controller/EmbeddedNetworkController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/EmbeddedNetworkController.cpp b/controller/EmbeddedNetworkController.cpp
index cfc98aea..01a33050 100644
--- a/controller/EmbeddedNetworkController.cpp
+++ b/controller/EmbeddedNetworkController.cpp
@@ -925,7 +925,7 @@ void EmbeddedNetworkController::configureHTTPControlPlane(
std::vector<json> memTmp;
if (_db.get(nwid, network, memTmp)) {
for (auto m = memTmp.begin(); m != memTmp.end(); ++m) {
- int revision = OSUtils::jsonInt((*m)["revsision"], 0);
+ int revision = OSUtils::jsonInt((*m)["revision"], 0);
std::string id = OSUtils::jsonString((*m)["id"], "");
if (id.length() == 10) {
json tmp = json::object();