diff --git a/bin/check-minio-update.rb b/bin/check-minio-update.rb index cf3f3e2..3f9466a 100755 --- a/bin/check-minio-update.rb +++ b/bin/check-minio-update.rb @@ -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") # rubocop:disable Layout/LineLength response = Net::HTTP.get_response(uri) unless response.is_a?(Net::HTTPSuccess) diff --git a/spec/check_minio_update_spec.rb b/spec/check_minio_update_spec.rb index d5301f8..8736232 100644 --- a/spec/check_minio_update_spec.rb +++ b/spec/check_minio_update_spec.rb @@ -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