filter for only agent

This commit is contained in:
medcl 2023-10-25 17:02:23 +08:00
parent 2eb8304e68
commit f7fc4c00a3
1 changed files with 4 additions and 0 deletions

View File

@ -81,6 +81,10 @@ func remoteConfigProvider(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 settings with this agent id