mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-12 14:50:25 +08:00
实现节点运行日志上传
This commit is contained in:
12
internal/tasks/node_log_cleaner_test.go
Normal file
12
internal/tasks/node_log_cleaner_test.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package tasks
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestNodeLogCleaner_loop(t *testing.T) {
|
||||
cleaner := &NodeLogCleaner{}
|
||||
err := cleaner.loop()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log("OK")
|
||||
}
|
||||
Reference in New Issue
Block a user