Skip to content

Commit

Permalink
update resourcedetection processor translator
Browse files Browse the repository at this point in the history
  • Loading branch information
lisguo committed Oct 25, 2023
1 parent bbe011f commit e753620
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
)

//go:embed configs/config.yaml
var apmAwsResourceDetectionConfig string
var appSignalsAwsResourceDetectionConfig string

type translator struct {
name string
Expand Down Expand Up @@ -57,5 +57,5 @@ func (t *translator) ID() component.ID {

func (t *translator) Translate(conf *confmap.Conf) (component.Config, error) {
cfg := t.factory.CreateDefaultConfig().(*resourcedetectionprocessor.Config)
return common.GetYamlFileToYamlConfig(cfg, apmAwsResourceDetectionConfig)
return common.GetYamlFileToYamlConfig(cfg, appSignalsAwsResourceDetectionConfig)
}

0 comments on commit e753620

Please sign in to comment.