lib/condo/strata/google_cloud_storage.rb in condo-2.0.0 vs lib/condo/strata/google_cloud_storage.rb in condo-2.0.1
- old
+ new
@@ -73,11 +73,11 @@
:body => data,
:method => 'PUT',
:headers => {},
:host => "#{bucket}.storage.googleapis.com",
:idempotent => true,
- :path => '?cors' # There is an issue with Fog where this isn't included as a canonical_resource
+ :path => '?cors'
)
end
def name
@@ -188,10 +188,9 @@
# Returns the requests for uploading parts and completing a resumable upload
def set_part(options)
resp = get_parts(options, true)
- resp[:type] = :resume_upload
resp[:type] = :resume_upload
return resp
end