[ Agent ] [ Executor ] 初步完成部署的函数功能
This commit is contained in:
@@ -197,8 +197,11 @@ func parseAgentServerInfo(agentServerInfoConf string) *register.AgentServerInfo
|
||||
|
||||
func BuildAgentOsOperator(agentServerInfo *register.AgentServerInfo) {
|
||||
|
||||
// 2023年8月4日 passthrough some key information
|
||||
ossOfflinePrefix := g.G.AgentConfig.GetString("octopus.agent.executor.ossOfflinePrefix")
|
||||
|
||||
// call the init exec function
|
||||
agentOsOperator := executor.BuildAgentOsOperator(agentServerInfo.OSInfo)
|
||||
agentOsOperator := executor.BuildAgentOsOperator(agentServerInfo.OSInfo, ossOfflinePrefix)
|
||||
|
||||
// assign the agentServerInfo
|
||||
agentOsOperator.AgentServerInfo = agentServerInfo
|
||||
|
||||
Reference in New Issue
Block a user