阶段性提交

This commit is contained in:
GoEdgeLab
2020-09-06 16:19:54 +08:00
parent f8049b3739
commit 84868c1a0b
37 changed files with 3134 additions and 91 deletions

View File

@@ -83,6 +83,8 @@ func (this *NodeClusterDAO) CreateCluster(name string, grantId int64, installDir
op.Name = name
op.GrantId = grantId
op.InstallDir = installDir
op.UseAllAPINodes = 1
op.ApiNodes = "[]"
op.State = NodeClusterStateEnabled
_, err = this.Save(op)
if err != nil {