Skip to content

Commit

Permalink
Merge "Ignore change notification for loadbalancer if its ifmap_node …
Browse files Browse the repository at this point in the history
…is marked for delete."
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Jan 7, 2016
2 parents 95bba52 + dadba84 commit 5a15db3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vnsw/agent/oper/loadbalancer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,10 @@ bool LoadbalancerTable::OperDBOnChange(DBEntry *entry, const DBRequest *req) {

LoadbalancerData *data = static_cast<LoadbalancerData *>(req->data.get());

/* Ignore change notifications if the entry is marked for delete */
if (data->ifmap_node()->IsDeleted()) {
return false;
}
autogen::LoadbalancerType lb_info;
Loadbalancer::ListenerMap listener_list;
CalculateProperties(graph_, data->ifmap_node(), &lb_info, &listener_list,
Expand Down

0 comments on commit 5a15db3

Please sign in to comment.