You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
check_haproxy_stats.rb:134: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/usr/lib/ruby/2.7.0/open-uri.rb:13: warning: The called method `open' is defined here
check_haproxy_stats.rb:134: warning: calling URI.open via Kernel#open is deprecated, call URI.open directly or use URI#open
Try to get rid of the error above. You need a change in line 134:
return open(options.url, open_options(options)) to return open.URI(options.url, **open_options(options))
The text was updated successfully, but these errors were encountered:
check_haproxy_stats.rb:134: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/usr/lib/ruby/2.7.0/open-uri.rb:13: warning: The called method `open' is defined here
check_haproxy_stats.rb:134: warning: calling URI.open via Kernel#open is deprecated, call URI.open directly or use URI#open
Try to get rid of the error above. You need a change in line 134:
return open(options.url, open_options(options)) to return open.URI(options.url, **open_options(options))
The text was updated successfully, but these errors were encountered: