mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update address-space in ipam-info for remote driver
Signed-off-by: vikaschoudhary16 <choudharyvikas16@gmail.com>
This commit is contained in:
parent
bbd071182c
commit
68de30a57c
1 changed files with 1 additions and 0 deletions
|
@ -1210,6 +1210,7 @@ func (n *network) ipamAllocateVersion(ipVer int, ipam ipamapi.Ipam) error {
|
|||
d := &IpamInfo{}
|
||||
(*infoList)[i] = d
|
||||
|
||||
d.AddressSpace = n.addrSpace
|
||||
d.PoolID, d.Pool, d.Meta, err = n.requestPoolHelper(ipam, n.addrSpace, cfg.PreferredPool, cfg.SubPool, n.ipamOptions, ipVer == 6)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue