filter for only agent
This commit is contained in:
parent
2eb8304e68
commit
f7fc4c00a3
|
@ -81,6 +81,10 @@ func remoteConfigProvider(instance model.Instance) []*common.ConfigFile {
|
||||||
|
|
||||||
func dynamicAgentConfigProvider(instance model.Instance) []*common.ConfigFile {
|
func dynamicAgentConfigProvider(instance model.Instance) []*common.ConfigFile {
|
||||||
|
|
||||||
|
if instance.Application.Name != "agent" {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
//get config files from remote db
|
//get config files from remote db
|
||||||
//get settings with this agent id
|
//get settings with this agent id
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue