mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
Static method from storage class for https://github.com/fog/fog/issues/3899
This commit is contained in:
parent
03d30de6d6
commit
ca995af100
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ module Fog
|
|||
options['x-amz-storage-class'] = storage_class if storage_class
|
||||
options.merge!(encryption_headers)
|
||||
|
||||
if multipart_chunk_size && get_body_size(body) >= multipart_chunk_size && body.respond_to?(:read)
|
||||
if multipart_chunk_size && Fog::Storage.get_body_size(body) >= multipart_chunk_size && body.respond_to?(:read)
|
||||
data = multipart_save(options)
|
||||
merge_attributes(data.body)
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue