File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
exporter/signalfxexporter Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ import (
23
23
"github.com/open-telemetry/opentelemetry-collector-contrib/internal/splunk"
24
24
)
25
25
26
- type TranslationRulesConfig struct {
26
+ type translationRulesConfig struct {
27
27
TranslationRules []translation.Rule `mapstructure:"translation_rules"`
28
28
}
29
29
30
30
var defaultTranslationRules = func () []translation.Rule {
31
31
var data map [string ]any
32
- var defaultRules TranslationRulesConfig
32
+ var defaultRules translationRulesConfig
33
33
34
34
// It is safe to panic since this is deterministic, and will not fail anywhere else if it doesn't fail all the time.
35
35
if err := yaml .Unmarshal ([]byte (translation .DefaultTranslationRulesYaml ), & data ); err != nil {
You can’t perform that action at this time.
0 commit comments