1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #688 from aboch/uk

Do not refresh the bitmasks on all operations in IPAM
This commit is contained in:
Madhu Venugopal 2015-10-22 21:53:05 +02:00
commit baf622c0a5

View file

@ -84,10 +84,6 @@ func (a *Allocator) refresh(as string) error {
return nil
}
if err := a.updateBitMasks(aSpace); err != nil {
return fmt.Errorf("error updating bit masks during init: %v", err)
}
a.Lock()
a.addrSpaces[as] = aSpace
a.Unlock()