Merge pull request #1202 from vikaschoudhary16/update-addrSpace

Update address-space in ipam-info for remote driver
This commit is contained in:
Chun Chen 2016-06-07 11:49:09 +08:00
commit dc94557b00
1 changed files with 1 additions and 0 deletions

View File

@ -1233,6 +1233,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