Explorar o código

Merge pull request #688 from aboch/uk

Do not refresh the bitmasks on all operations in IPAM
Madhu Venugopal %!s(int64=9) %!d(string=hai) anos
pai
achega
baf622c0a5
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      libnetwork/ipam/allocator.go

+ 0 - 4
libnetwork/ipam/allocator.go

@@ -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()