[ Agent ] [ Executor ] - fix bugs
This commit is contained in:
@@ -200,6 +200,9 @@ func BuildAgentOsOperator(agentServerInfo *register.AgentServerInfo) {
|
||||
|
||||
// 2023年8月4日 passthrough some key information
|
||||
ossOfflinePrefix := g.G.AgentConfig.GetString("octopus.agent.executor.ossOfflinePrefix")
|
||||
if !strings.HasSuffix(ossOfflinePrefix, "/") {
|
||||
ossOfflinePrefix += "/"
|
||||
}
|
||||
|
||||
// call the init exec function
|
||||
agentOsOperator := executor.BuildAgentOsOperator(agentServerInfo.OSInfo, ossOfflinePrefix)
|
||||
|
||||
Reference in New Issue
Block a user