Pass check-alive flag on claim for container

This commit is contained in:
Bryan Boreham committed 2017-06-12 14:03:53 +00:00
1 parent 31a4657467
commit a0d0b00938
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -568,7 +568,7 @@ func (proxy *Proxy) claimCIDR(containerID, cidr string) (*net.IPNet, error) {
return nil, err
}
ipnet.IP = ip // we want the specific IP plus the mask
err = proxy.weave.ClaimIP(containerID, ipnet)
err = proxy.weave.ClaimIP(containerID, ipnet, true)
return ipnet, err
}