Skip to content

Commit

Permalink
squash: fix argument error
Browse files Browse the repository at this point in the history
  • Loading branch information
arielvalentin committed Jan 7, 2025
1 parent 566411e commit 3dd21b2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ module Rdkafka
# The Instrumentation class contains logic to detect and install the Rdkafka instrumentation
class Instrumentation < OpenTelemetry::Instrumentation::Base
compatible do
Gem::Requirement.new('>= 0.10.0', '< 0.15.0').satisfied_by?(::Rdkafka::VERSION)
gem_version = Gem::Version(::Rdkafka::VERSION)
Gem::Requirement.new('>= 0.10.0', '< 0.15.0').satisfied_by?(gem_version)
end

install do |_config|
Expand Down

0 comments on commit 3dd21b2

Please sign in to comment.