Make Claim to block if the IPAM ring is not established
This commit is contained in:
1 parent
daa369b86c
commit
d698aefbfc
5 files changed
+71
-28
No files matched your search
@@ -27,7 +27,7 @@ func (alloc *Allocator) SimplyAllocate(ident string, cidr address.CIDR) (address
|
||||
}
|
||||
|
||||
func (alloc *Allocator) SimplyClaim(ident string, cidr address.CIDR) error {
|
||||
return alloc.Claim(ident, cidr, true, true)
|
||||
return alloc.Claim(ident, cidr, true, true, returnFalse)
|
||||
}
|
||||
|
||||
func TestAllocFree(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user