lib/fog/azurerm/storage.rb in gitlab-fog-azure-rm-0.8.0 vs lib/fog/azurerm/storage.rb in gitlab-fog-azure-rm-0.8.1
- old
+ new
@@ -114,11 +114,11 @@
else
get_blob_endpoint_with_domain(@azure_storage_account_name, true, @azure_storage_domain)
end
azure_client = Azure::Storage::Client.create(storage_account_name: @azure_storage_account_name,
- storage_access_key: @azure_storage_access_key)
- azure_client.storage_blob_host = domain
+ storage_access_key: @azure_storage_access_key,
+ storage_blob_host: domain)
@blob_client = azure_client.blob_client
@blob_client.with_filter(Azure::Storage::Core::Filter::ExponentialRetryPolicyFilter.new)
@blob_client.with_filter(Azure::Core::Http::DebugFilter.new) if @debug
@signature_client = Azure::Storage::Core::Auth::SharedAccessSignature.new(@azure_storage_account_name,
@azure_storage_access_key)