💚 更新 Go 版本

This commit is contained in:
naiba
2021-11-04 12:55:12 +08:00
parent 58d17b69a1
commit bcc42dea79
6 changed files with 16 additions and 2 deletions

View File

@@ -255,6 +255,9 @@ func doSelfUpdate(donNotUseLocalVersion bool) {
}
func handleUpgradeTask(task *pb.Task, result *pb.TaskResult) {
if agentConf.DisableForceUpdate {
return
}
doSelfUpdate(true)
}