lib/fog/azurerm/models/storage/file.rb in gitlab-fog-azure-rm-0.9.0 vs lib/fog/azurerm/models/storage/file.rb in gitlab-fog-azure-rm-1.0.0

- old
+ new

@@ -246,15 +246,10 @@ private # Upload blob def save_blob(options) if options[:blob_type].nil? || options[:blob_type] == 'BlockBlob' - if Fog::Storage.get_body_size(body) <= SINGLE_BLOB_PUT_THRESHOLD - service.create_block_blob(directory.key, key, body, options) - else - service.multipart_save_block_blob(directory.key, key, body, options) - service.get_blob_properties(directory.key, key) - end + service.create_block_blob(directory.key, key, body, options) else service.save_page_blob(directory.key, key, body, options) service.get_blob_properties(directory.key, key) end end