Allow specification of initial IPAM ring via --ipam-seed
This commit is contained in:
1 parent
18ddf50b4c
commit
e9081c6607
8 files changed
+126
-28
No files matched your search
@@ -125,8 +125,8 @@ func CheckAllExpectedMessagesSent(allocs ...*Allocator) {
|
||||
|
||||
type mockDB struct{}
|
||||
|
||||
func (d *mockDB) Load(_ string, _ interface{}) error { return nil }
|
||||
func (d *mockDB) Save(_ string, _ interface{}) error { return nil }
|
||||
func (d *mockDB) Load(_ string, _ interface{}) (bool, error) { return false, nil }
|
||||
func (d *mockDB) Save(_ string, _ interface{}) error { return nil }
|
||||
|
||||
func makeAllocator(name string, cidrStr string, quorum uint) (*Allocator, address.CIDR) {
|
||||
peername, err := mesh.PeerNameFromString(name)
|
||||
|
||||
Reference in new issue
Block a user