浏览代码

Merge pull request #688 from aboch/uk

Do not refresh the bitmasks on all operations in IPAM
Madhu Venugopal 9 年之前
父节点
当前提交
baf622c0a5
共有 1 个文件被更改,包括 0 次插入4 次删除
  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()