Skip to content

Commit 0e6ef84

Browse files
suggestions
Co-authored-by: Jade Guiton <[email protected]>
1 parent a74434c commit 0e6ef84

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

confmap/internal/featuregates.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ var EnableMergeAppendOption = featuregate.GlobalRegistry().MustRegister(
1313
featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector/issues/8754"),
1414
)
1515

16-
var DeferExpandedValueSanitizationOnStructCollection = featuregate.GlobalRegistry().MustRegister(
17-
"confmap.deferExpandedValueSanitizationOnStructCollection",
16+
var NewExpandedValueSanitizer = featuregate.GlobalRegistry().MustRegister(
17+
"confmap.newExpandedValueSanitizer",
1818
featuregate.StageBeta,
1919
featuregate.WithRegisterFromVersion("v0.144.0"),
20-
featuregate.WithRegisterDescription("Disables early sanitization of ExpandedValue during config unmarshalling, allowing mapstructure to handle type conversion at the field level. Fixes decoding errors when environment variable values are parsed as non-string types (e.g., numbers, booleans) but need to be assigned to string fields."),
21-
featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector/pull/14413#issuecomment-3754949484"),
20+
featuregate.WithRegisterDescription("Fixes some types of decoding errors where environment variables are parsed as non-string types but assigned to string fields."),
21+
featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector/pull/14413"),
2222
)

0 commit comments

Comments
 (0)