mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-06 01:50:25 +08:00
所有数据库相关的操作支持事务
This commit is contained in:
@@ -46,7 +46,7 @@ func (this *HealthCheckTask) Run() {
|
||||
}
|
||||
|
||||
func (this *HealthCheckTask) loop() error {
|
||||
clusters, err := models.NewNodeClusterDAO().FindAllEnableClusters()
|
||||
clusters, err := models.NewNodeClusterDAO().FindAllEnableClusters(nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user