Merge branch '1.6'

This commit is contained in:
Bryan Boreham committed 2016-08-03 14:34:49 +01:00
commit 589b45dace
1 file changed
+2
+2
View File
@@ -298,10 +298,12 @@ func main() {
} }
allocator, defaultSubnet = createAllocator(router, ipamConfig, db, t, isKnownPeer) allocator, defaultSubnet = createAllocator(router, ipamConfig, db, t, isKnownPeer)
observeContainers(allocator) observeContainers(allocator)
if dockerCli != nil {
ids, err := dockerCli.AllContainerIDs() ids, err := dockerCli.AllContainerIDs()
checkFatal(err) checkFatal(err)
allocator.PruneOwned(ids) allocator.PruneOwned(ids)
} }
}
var ( var (
ns *nameserver.Nameserver ns *nameserver.Nameserver