Skip to content

Commit

Permalink
Expanded Down.download arguments map
Browse files Browse the repository at this point in the history
  • Loading branch information
andsel committed Feb 20, 2023
1 parent 97d2831 commit ca16bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/lib/filters/geoip/download_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def download_database(database_type, dirname, db_info)

options = { destination: zip_path }
options.merge!({proxy: ENV['http_proxy']}) if ENV.include?('http_proxy')
Down.download(actual_url, options)
Down.download(actual_url, **options)
raise "the new download has wrong checksum" if md5(zip_path) != db_info['md5_hash']

logger.debug("new database downloaded in ", :path => zip_path)
Expand Down

0 comments on commit ca16bbe

Please sign in to comment.