libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Grisel (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LIBCLOUD-399) Creating instances of AzureBlobsStorageDriver should not mutate the host attribute of AzureBlobsConnection
Date Sun, 15 Sep 2013 16:17:52 GMT

     [ https://issues.apache.org/jira/browse/LIBCLOUD-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olivier Grisel updated LIBCLOUD-399:
------------------------------------

    Attachment: LIBCLOUD-399_20130915.diff

Here is a patch with a fix + test for this issue. The patch is also available on this branch
of my github fork:

https://github.com/ogrisel/libcloud/compare/LIBCLOUD-399

There might be a cleaner way to do it but I don't see how without resorting to metaclass which
I think would make the code even more complex.
                
> Creating instances of AzureBlobsStorageDriver should not mutate the host attribute of
AzureBlobsConnection 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-399
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-399
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Storage
>    Affects Versions: 0.13.1
>            Reporter: Olivier Grisel
>         Attachments: LIBCLOUD-399_20130915.diff
>
>
> Creating instances of {{AzureBlobsStorageDriver}} should not mutate the {{host}} attribute
of {{AzureBlobsConnection}}.
> The {{host}} attribute is dependent on the {{key}} of the azure blob storage account.
It should be possible to have 2 drivers to do distinct Azure storage accounts in the same
Python program without having one driver instance affect the state of another.
> Please followup for a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message