BlobStore.createContainerInLocation is supposed to return True if the container 
was newly created and False if the container already existed. This commit makes 
that happen for Swift blobstores.
You can merge this Pull Request by running:

  git pull https://github.com/maginatics/jclouds create_container_return_status

Or you can view, comment on it, or merge it online at:

  https://github.com/jclouds/jclouds/pull/170

-- Commit Summary --

  * JCLOUDS-334. Return correct status while creating containers in Swift.

-- File Changes --

    M 
apis/swift/src/main/java/org/jclouds/openstack/swift/CommonSwiftAsyncClient.java
 (3)
    M 
apis/swift/src/test/java/org/jclouds/openstack/swift/SwiftClientExpectTest.java 
(31)
    A core/src/main/java/org/jclouds/http/functions/ReturnTrueIf201.java (40)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/170.patch
https://github.com/jclouds/jclouds/pull/170.diff

Reply via email to