Skip to content

Commit c597ab2

Browse files
committed
squash: OMG
1 parent 3dd21b2 commit c597ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/rdkafka/lib/opentelemetry/instrumentation/rdkafka/instrumentation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Rdkafka
1010
# The Instrumentation class contains logic to detect and install the Rdkafka instrumentation
1111
class Instrumentation < OpenTelemetry::Instrumentation::Base
1212
compatible do
13-
gem_version = Gem::Version(::Rdkafka::VERSION)
13+
gem_version = Gem::Version.new(::Rdkafka::VERSION)
1414
Gem::Requirement.new('>= 0.10.0', '< 0.15.0').satisfied_by?(gem_version)
1515
end
1616

0 commit comments

Comments
 (0)