Skip to content

Commit

Permalink
Remove trailing async config feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean-Coakley committed Aug 28, 2023
1 parent b0ea6a7 commit 1625b76
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
14 changes: 0 additions & 14 deletions src/plugins/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,20 +118,6 @@ func (f *Features) Process(msg *core.Message) {
}
}

func (f *Features) enableNginxConfigAsyncFeature(data string) []core.Plugin {
if !f.pipeline.IsPluginAlreadyRegistered(agent_config.FeatureNginxConfigAsync) {
conf, err := config.GetConfig(f.conf.ClientID)
if err != nil {
log.Warnf("Unable to get agent config, %v", err)
}
f.conf = conf

nginx := NewNginx(f.commander, f.binary, f.env, f.conf)
return []core.Plugin{nginx}
}
return []core.Plugin{}
}

func (f *Features) enableMetricsFeature(data string) []core.Plugin {
if !f.pipeline.IsPluginAlreadyRegistered(agent_config.FeatureMetrics) {

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1625b76

Please sign in to comment.