diff --git a/internal/setup/sql_executor.go b/internal/setup/sql_executor.go index 34a1d06c..e2c5fef7 100644 --- a/internal/setup/sql_executor.go +++ b/internal/setup/sql_executor.go @@ -198,7 +198,7 @@ func (this *SQLExecutor) checkCluster(db *dbs.DB) error { } // 创建默认集群 - _, err = db.Exec("INSERT INTO edgeNodeClusters (name, useAllAPINodes, state) VALUES (?, ?, ?)", "默认集群", 1, 1) + _, err = db.Exec("INSERT INTO edgeNodeClusters (name, useAllAPINodes, state, uniqueId, secret) VALUES (?, ?, ?, ?, ?)", "默认集群", 1, 1, rands.HexString(32), rands.String(32)) if err != nil { return err }