[Cmii][ImageSync] - reformat agent-go - 2

This commit is contained in:
zeaslity
2024-03-29 15:37:06 +08:00
parent 77c689abd7
commit 1b88e5d871
6 changed files with 14 additions and 11 deletions

View File

@@ -8,6 +8,7 @@ import (
"os/exec"
"strconv"
"strings"
"time"
"wdd.io/agent-common/logger"
"wdd.io/agent-common/utils"
"wdd.io/agent-go/rabbitmq"
@@ -70,6 +71,7 @@ func Activate() {
break
}
}
time.Sleep(time.Second * 5)
}
func Execute(em *ExecutionMessage) (bool, []string) {