Skip to content

Commit

Permalink
Merge "Do DB enqueue from VMI delete" into R3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Nov 21, 2016
2 parents 63e7ac1 + f2d012b commit 530f68b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vnsw/agent/oper/vm_interface.cc
Expand Up @@ -1090,7 +1090,8 @@ static bool DeleteVmi(InterfaceTable *table, const uuid &u, DBRequest *req) {
req->oper = DBRequest::DB_ENTRY_ADD_CHANGE;
req->key.reset(new VmInterfaceKey(AgentKey::RESYNC, u, ""));
req->data.reset(new VmInterfaceConfigData(NULL, NULL));
return true;
table->Enqueue(req);
return false;
} else {
VmInterface::Delete(table, u, VmInterface::CONFIG);
return false;
Expand Down

0 comments on commit 530f68b

Please sign in to comment.