Skip to content

Commit

Permalink
fix: fix the issue of wrong log msg (#1105)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuan-cao-swi committed Aug 8, 2024
1 parent f999e70 commit 6dab627
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def config_options(user_config)
h[option_name] = option[:default]
end

dropped_config_keys = user_config.keys - validated_config.keys
dropped_config_keys = user_config.keys - validated_config.keys - [:enabled]
OpenTelemetry.logger.warn("Instrumentation #{name} ignored the following unknown configuration options #{dropped_config_keys}") unless dropped_config_keys.empty?

validated_config
Expand Down

0 comments on commit 6dab627

Please sign in to comment.