We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0928fc0 commit 779ef6cCopy full SHA for 779ef6c
src/plugins/config_reader.go
@@ -107,6 +107,8 @@ func (r *ConfigReader) updateAgentConfig(payloadAgentConfig *proto.AgentConfig)
107
108
sort.Strings(onDiskAgentConfig.Features)
109
sort.Strings(payloadAgentConfig.Details.Features)
110
+ log.Debugf("OnDisk Agent Features %v", onDiskAgentConfig.Features)
111
+ log.Debugf("Payload Agent Features %v", onDiskAgentConfig.Features)
112
r.detailsMu.Unlock()
113
114
r.detailsMu.RLock()
@@ -137,6 +139,7 @@ func (r *ConfigReader) updateAgentConfig(payloadAgentConfig *proto.AgentConfig)
137
139
log.Errorf("Failed updating Agent config - %v", err)
138
140
}
141
if configUpdated {
142
+ r.config.Features = features
143
log.Debugf("Updated agent config on disk")
144
145
0 commit comments