Add automatic bootstrap and recovery

This commit is contained in:
Ingo Oppermann
2023-05-02 15:49:46 +02:00
parent 75c11eb475
commit 4eb0258ba4
3 changed files with 91 additions and 20 deletions

View File

@@ -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,