[#3133] Change signature of upload for cellar to match upstream evolution
This commit is contained in:
parent
a9b4150b3b
commit
8e0408093b
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ module Cellar
|
||||||
@signer = signer
|
@signer = signer
|
||||||
end
|
end
|
||||||
|
|
||||||
def upload(key, io, checksum)
|
def upload(key, io, checksum: nil, **)
|
||||||
with_io_length(io) do |io, length|
|
with_io_length(io) do |io, length|
|
||||||
request = Net::HTTP::Put.new("/#{key}")
|
request = Net::HTTP::Put.new("/#{key}")
|
||||||
request.content_type = 'application/octet-stream'
|
request.content_type = 'application/octet-stream'
|
||||||
|
|
Loading…
Add table
Reference in a new issue