Skip to content

Commit

Permalink
Huhhh
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex committed May 31, 2024
1 parent 27c7014 commit fa8f899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/riemann/tools/tls_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module URI
klass.const_set('DEFAULT_PORT', port)

if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('3.1.0')
@@schemes[scheme] = klass
scheme_list[scheme] = klass
else
register_scheme(scheme, klass)
end
Expand Down

0 comments on commit fa8f899

Please sign in to comment.