[ 
https://issues.apache.org/jira/browse/LIBCLOUD-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13767834#comment-13767834
 ] 

Tomaz Muraus commented on LIBCLOUD-399:
---------------------------------------

Thanks, that's a good catch.

Another and preferred way to do that would be to use 
`ex_connection_class_kwargs`, similar as it's done in this pull request - 
https://github.com/apache/libcloud/pull/138 
(https://github.com/apache/libcloud/pull/138/files#L0R168).
                
> 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

Reply via email to