[agent] 111
This commit is contained in:
@@ -18,7 +18,7 @@ func main() {
|
|||||||
flag.Parse()
|
flag.Parse()
|
||||||
// 读取对应版本的配置文件
|
// 读取对应版本的配置文件
|
||||||
filename := fmt.Sprintf("octopus-agent-%s.yaml", version)
|
filename := fmt.Sprintf("octopus-agent-%s.yaml", version)
|
||||||
println(filename)
|
println("config file name is => " + filename)
|
||||||
|
|
||||||
// 初始化Nacos的连接配置
|
// 初始化Nacos的连接配置
|
||||||
g.G.AgentConfig = register.ParseConfiguration(filename)
|
g.G.AgentConfig = register.ParseConfiguration(filename)
|
||||||
|
|||||||
Reference in New Issue
Block a user