opentelemetry-collector
opentelemetry-collector copied to clipboard
[configcompression] Use if instead of switch on UnmarshalText
nit: Sorry, but my mind goes crazy when I see a switch used like an if :)) Can we fix this probably in a separate PR :)
Originally posted by @bogdandrutu in https://github.com/open-telemetry/opentelemetry-collector/pull/9416#discussion_r1474920110
I guess ideally we would have a linter for this
I don't think this is needed for 1.0 since it is an internal implementation detail, I am removing from the milestone
I agree that this is not required for a 1.0 release.
Hello @TylerHelmuth @mx-psi , i would like to work on this issue