实现节点运行日志上传

This commit is contained in:
GoEdgeLab
2020-10-09 11:06:37 +08:00
parent d0c83536fa
commit 42fa7e24e8
9 changed files with 230 additions and 1 deletions

View 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")
}