mirror of
https://github.com/datarhei/core.git
synced 2025-10-30 10:56:58 +08:00
Expose general infos in cluster about, bump cluster API version to 2.0.0
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user