Skip to content

Commit

Permalink
remove uri variable from read_http function
Browse files Browse the repository at this point in the history
  • Loading branch information
davama authored Aug 29, 2023
1 parent 4b999e2 commit 74ac22b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/oxidized/source/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def pagination(data, node_want)
end

def read_http(uri, node_want)
#uri = URI.parse(@cfg.url)
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true if uri.scheme == 'https'
http.verify_mode = OpenSSL::SSL::VERIFY_NONE unless @cfg.secure
Expand Down

0 comments on commit 74ac22b

Please sign in to comment.