Pass check-alive flag on claim for container
This commit is contained in:
1 parent
31a4657467
commit
a0d0b00938
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user