[ Cmii ] [ Operator ] - bug fix of bgtg

This commit is contained in:
zeaslity
2024-04-12 15:10:20 +08:00
parent a21b113340
commit 866220f2e4
2 changed files with 16 additions and 17 deletions

View File

@@ -718,10 +718,7 @@ func (op *AgentOsOperator) installDockerExec(args []string) (bool, []string) {
}
// look for specific docker-version to install
ok, log4 := AllCommandExecutor([]string{"apt-get", "update"})
if !ok {
return false, append(log4, "apt-get update 失败!")
}
AllCommandExecutor([]string{"apt-get", "update"})
// 补充参数
if args == nil {