JSONDB fix.
This commit is contained in:
parent
48cadcd2fc
commit
f6d92eb737
4 changed files with 9 additions and 8 deletions
|
@ -1129,7 +1129,8 @@ unsigned int EmbeddedNetworkController::handleControlPlaneHttpDELETE(
|
|||
} else {
|
||||
Mutex::Lock _l(_db_m);
|
||||
|
||||
std::string pfx("network/"); pfx.append(nwids);
|
||||
std::string pfx("network/");
|
||||
pfx.append(nwids);
|
||||
_db.filter(pfx,[](const std::string &n,const json &obj) {
|
||||
return false; // delete
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue