Skip to content

Commit da269ca

Browse files
committed
Add support for releasing addresses by ID
1 parent ed73deb commit da269ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ipam/manager_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,12 +356,12 @@ func TestAddressRequestsFromTheSamePool(t *testing.T) {
356356
}
357357

358358
// Release addresses and the pool.
359-
err = am.ReleaseAddress(LocalDefaultAddressSpaceId, poolId, address1)
359+
err = am.ReleaseAddress(LocalDefaultAddressSpaceId, poolId, address1, nil)
360360
if err != nil {
361361
t.Errorf("ReleaseAddress failed, err:%v", err)
362362
}
363363

364-
err = am.ReleaseAddress(LocalDefaultAddressSpaceId, poolId, address2)
364+
err = am.ReleaseAddress(LocalDefaultAddressSpaceId, poolId, address2, nil)
365365
if err != nil {
366366
t.Errorf("ReleaseAddress failed, err:%v", err)
367367
}

0 commit comments

Comments
 (0)