Fix IPAM test compilation
This commit is contained in:
1 parent
d5a4326b9e
commit
da41604229
1 file changed
+1
-1
@@ -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)
|
||||
require.NoError(t, err)
|
||||
// Check we get this address back if we try an allocate
|
||||
addr3, _ := alloc.Allocate(container3, subnet, nil)
|
||||
|
||||
Reference in new issue
Block a user