Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(propagation): remove redundant warning messages #13220

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
message: "**OpenTelemetry / Zipkin**: remove redundant deprecation warnings"
type: bugfix
scope: Plugin
9 changes: 0 additions & 9 deletions kong/tracing/propagation/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ local function get_plugin_params(config)

if (config.default_header_type or null) ~= null then
propagation_config.default_format = config.default_header_type

kong.log.warn(
"the default_header_type parameter is deprecated, please update your "
.. "configuration to use the propagation.default_format, "
.. "propagation.extract and propagation.inject options instead")
end

if (config.header_type or null) ~= null then
Expand Down Expand Up @@ -75,10 +70,6 @@ local function get_plugin_params(config)
config.header_type
}
end

kong.log.warn(
"the header_type parameter is deprecated, please update your "
.. "configuration to use propagation.extract and propagation.inject instead")
end

return propagation_config
Expand Down
Loading