This commit is contained in:
wh1te909 2022-06-26 15:34:00 -07:00
parent aed33b9a95
commit 8d2511129c
8 changed files with 29 additions and 13 deletions

View file

@ -61,6 +61,8 @@ func NewAgentConfig() *rmm.AgentConfig {
cert, _, _ := k.GetStringValue("Cert")
proxy, _, _ := k.GetStringValue("Proxy")
customMeshDir, _, _ := k.GetStringValue("MeshDir")
natsProxyPath, _, _ := k.GetStringValue("NatsProxyPath")
natsProxyPort, _, _ := k.GetStringValue("NatsProxyPort")
return &rmm.AgentConfig{
BaseURL: baseurl,
@ -72,6 +74,8 @@ func NewAgentConfig() *rmm.AgentConfig {
Cert: cert,
Proxy: proxy,
CustomMeshDir: customMeshDir,
NatsProxyPath: natsProxyPath,
NatsProxyPort: natsProxyPort,
}
}