mirror of
https://github.com/datarhei/core.git
synced 2025-10-05 16:07:07 +08:00
Add automatic bootstrap and recovery
This commit is contained in:
@@ -628,6 +628,7 @@ func (a *api) start() error {
|
||||
Name: cfg.Name,
|
||||
Path: filepath.Join(cfg.DB.Dir, "cluster"),
|
||||
Bootstrap: cfg.Cluster.Bootstrap,
|
||||
Recover: cfg.Cluster.Recover,
|
||||
Address: cfg.Cluster.Address,
|
||||
JoinAddress: cfg.Cluster.JoinAddress,
|
||||
CoreAPIAddress: cfg.Address,
|
||||
|
Reference in New Issue
Block a user