mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Do not refresh the bitmasks on all operations in IPAM
- Currently allocator pulls all the bitmasks from datastore before processing each public API. This is not needed as the APIs already selectively pull the interested bitmask when needed. Signed-off-by: Alessandro Boch <aboch@docker.com>
This commit is contained in:
parent
c14ab8592e
commit
f1b2705d5e
1 changed files with 0 additions and 4 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue