[agent] 111

This commit is contained in:
IceDerce
2023-06-16 16:12:31 +08:00
parent 6025620eea
commit 92a2a16aea

View File

@@ -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)