[LIBCLOUD-851] Fix azure_blobs driver with BlobStorage account #1294
Fix azure_blobs driver with BlobStorage account
As discussed in LIBCLOUD-851, the Azure Storage driver currently doesn't work when used against a storage account that was created using
Checklist (tick everything that applies)
The text was updated successfully, but these errors were encountered:
As per https://docs.microsoft.com/en-us/rest/api/storagerp/storageaccounts/create#kind, there are several types of storage accounts that can be created in Azure including: StorageV2 (default), Storage and BlobStorage. As per https://docs.microsoft.com/en-us/rest/api/storageservices/versioning-for-the-azure-storage-services, StorageV2 and Storage support API versions of `2009-09-19` or newer. BlobStorage only supports API versions of `2014-02-14` or newer. In order to ensure that libcloud works with all the types of storage accounts, this change raises the API version used by the storage driver to the earliest version supported by all the account types.
@@ Coverage Diff @@ ## trunk #1294 +/- ## ========================================== - Coverage 85.95% 85.95% -0.01% ========================================== Files 359 359 Lines 73911 73912 +1 Branches 6705 6705 ========================================== - Hits 63530 63529 -1 - Misses 7699 7700 +1 - Partials 2682 2683 +1