Skip to content

Commit

Permalink
check sha256sum file - https://trello.com/c/QBw1emhp
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-as committed Aug 19, 2024
1 parent 38b134b commit 3b83eff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/check-minio-update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def run

def latest_version
@latest_version ||= begin
uri = URI.parse("#{config[:checkurl]}/#{config[:platform]}/minio.shasum")
uri = URI.parse("#{config[:checkurl]}/#{config[:platform]}/minio.sha256sum")
response = Net::HTTP.get_response(uri)

unless response.is_a?(Net::HTTPSuccess)
Expand Down
2 changes: 1 addition & 1 deletion spec/check_minio_update_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
let(:checksum_request) do
stub_request(
:get,
'https://dl.min.io/server/minio/release/linux-amd64/minio.shasum'
'https://dl.min.io/server/minio/release/linux-amd64/minio.sha256sum'
).to_return(response)
end

Expand Down

0 comments on commit 3b83eff

Please sign in to comment.