mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-04 21:50:28 +08:00
配置变更的时候自动同步,不再需要手工点击同步
This commit is contained in:
12
internal/tasks/task_sync_cluster_test.go
Normal file
12
internal/tasks/task_sync_cluster_test.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package tasks
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestSyncClusterTask_loop(t *testing.T) {
|
||||
task := NewSyncClusterTask()
|
||||
err := task.loop()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log("ok")
|
||||
}
|
||||
Reference in New Issue
Block a user