c-w commented on pull request #1580: URL: https://github.com/apache/libcloud/pull/1580#issuecomment-840897238
> On that note, what is the current behavior? It just returns an existing container with that name? Yes, `create_container` on an existing container returns a container with the same properties as the existing one. Here's a repro: ```py from libcloud.storage.types import Provider from libcloud.storage.providers import get_driver cls = get_driver(Provider.S3) driver = cls(AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY_SECRET) containers = driver.list_containers() print(driver.create_container(containers[0].name).name == containers[0].name) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
