Don't cancel address claim when caller closes socket

This commit is contained in:
Bryan Boreham committed 2015-07-09 10:47:34 +01:00
1 parent 78c4b06492
commit cf4ce0a07d
4 files changed
+7 -15

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@ func TestAllocatorClaim(t *testing.T) {
alloc.claimRingForTesting()
addr1, _ := address.ParseIP(testAddr1)
err := alloc.Claim(container3, addr1, nil)
err := alloc.Claim(container3, addr1)
wt.AssertNoErr(t, err)
// Check we get this address back if we try an allocate
addr3, _ := alloc.Allocate(container3, subnet, nil)