Let IPAM pick any peer we know about to transfer ownership to, when shutting down
This commit is contained in:
1 parent
2bbe6a2ad8
commit
b3cda39b0b
4 files changed
+39
-4
No files matched your search
@@ -135,7 +135,7 @@ func makeAllocator(name string, cidrStr string, quorum uint) (*Allocator, addres
|
||||
}
|
||||
|
||||
alloc := NewAllocator(peername, router.PeerUID(rand.Int63()),
|
||||
"nick-"+name, cidr.Range(), quorum)
|
||||
"nick-"+name, cidr.Range(), quorum, nil)
|
||||
|
||||
return alloc, cidr.HostRange()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user