Expose general infos in cluster about, bump cluster API version to 2.0.0

This commit is contained in:
Ingo Oppermann
2024-04-08 21:55:07 +02:00
parent 29848ab9df
commit 487529c598
11 changed files with 120 additions and 57 deletions

View File

@@ -530,7 +530,8 @@ func (a *api) start(ctx context.Context) error {
}
cluster, err := cluster.New(cluster.Config{
ID: cfg.ID,
ID: cfg.Cluster.ID,
NodeID: cfg.ID,
Name: cfg.Name,
Path: filepath.Join(cfg.DB.Dir, "cluster"),
Address: cfg.Cluster.Address,