opentelemetry-collector icon indicating copy to clipboard operation
opentelemetry-collector copied to clipboard

Remove extra closing parenthesis in sub-config error

Open rogercoll opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

Formatting issue in confmap error: https://github.com/open-telemetry/opentelemetry-collector/blob/main/confmap/confmap.go#L140

The error contains an extra closing parenthesis: unexpected sub-config value kind for key:%s value:%v kind:%v)

Describe the solution you'd like

Remove the closing parenthesis: unexpected sub-config value kind for key:%s value:%v kind:%v

Additional context

Found while adding unmarshall tests in the geoip contrib processor: https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/33268/files#diff-9137db5fde5eb0d6870425c0023cec1a5bdfe92f58f8a72e278b55635afc6e95R48

rogercoll avatar Jun 28 '24 11:06 rogercoll