Skip to content

Commit df1b78c

Browse files
committed
Move config struct to private
1 parent 73a6a12 commit df1b78c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exporter/signalfxexporter/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ import (
2323
"github.com/open-telemetry/opentelemetry-collector-contrib/internal/splunk"
2424
)
2525

26-
type TranslationRulesConfig struct {
26+
type translationRulesConfig struct {
2727
TranslationRules []translation.Rule `mapstructure:"translation_rules"`
2828
}
2929

3030
var defaultTranslationRules = func() []translation.Rule {
3131
var data map[string]any
32-
var defaultRules TranslationRulesConfig
32+
var defaultRules translationRulesConfig
3333

3434
// It is safe to panic since this is deterministic, and will not fail anywhere else if it doesn't fail all the time.
3535
if err := yaml.Unmarshal([]byte(translation.DefaultTranslationRulesYaml), &data); err != nil {

0 commit comments

Comments
 (0)