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

[confighttp/configgrps] Rename the fields of types that were renamed in configtls

Open arjunmahishi opened this issue 1 year ago • 0 comments

          We should at least open a PR about re-naming the variable as well.

Originally posted by @bogdandrutu in https://github.com/open-telemetry/opentelemetry-collector/pull/9495#discussion_r1484544849


As a part of #9495, some types in configtls were renamed to match the naming convention followed in other packages. But the fields/attributes that use those types were not renamed to maintain backward compatibility. Opening this PR to track that change.

Types that were renamed

  • TLSClientSetting to ClientConfig
  • TLSServerSetting to ServerConfig
  • TLSSetting to Config

These types are used with some struct attributes in the package confighttp and configgrpc.

arjunmahishi avatar Feb 10 '24 04:02 arjunmahishi