1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request from mrjana/lb

Do not bulk sync state which is getting deleted
This commit is contained in:
Madhu Venugopal 2016-06-18 19:05:21 -07:00 committed by GitHub
commit 7541e6b6c7

View file

@ -397,6 +397,12 @@ func (nDB *NetworkDB) bulkSyncNode(networks []string, node string, unsolicited b
return false
}
// Do not bulk sync state which is in the
// process of getting deleted.
if entry.deleting {
return false
}
params := strings.Split(path[1:], "/")
tEvent := TableEvent{
Type: TableEventTypeCreate,