Add functionality to erase members from networks using file backend in controller microservice
Signed-off-by: Diego Schulz <dschulz@gmail.com>
This commit is contained in:
parent
352ec3430f
commit
fc6dba0797
2 changed files with 14 additions and 1 deletions
|
@ -1042,6 +1042,7 @@ unsigned int EmbeddedNetworkController::handleControlPlaneHttpDELETE(
|
|||
|
||||
json network,member;
|
||||
_db->get(nwid,network,address,member);
|
||||
_db->eraseMember(nwid, address);
|
||||
|
||||
{
|
||||
std::lock_guard<std::mutex> l(_memberStatus_l);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue