mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-16 10:00:25 +08:00
初步实现安装界面
This commit is contained in:
@@ -26,7 +26,13 @@ func NewNodeClusterDAO() *NodeClusterDAO {
|
||||
}).(*NodeClusterDAO)
|
||||
}
|
||||
|
||||
var SharedNodeClusterDAO = NewNodeClusterDAO()
|
||||
var SharedNodeClusterDAO *NodeClusterDAO
|
||||
|
||||
func init() {
|
||||
dbs.OnReady(func() {
|
||||
SharedNodeClusterDAO = NewNodeClusterDAO()
|
||||
})
|
||||
}
|
||||
|
||||
// 启用条目
|
||||
func (this *NodeClusterDAO) EnableNodeCluster(id int64) error {
|
||||
|
||||
Reference in New Issue
Block a user