> @@ -113,4 +116,14 @@ private String putBlobWithReducedRedundancy(String 
> container, Blob blob) {
>        return 
> getContext().unwrap(AWSS3ApiMetadata.CONTEXT_TOKEN).getApi().putObject(container,
>  blob2Object.apply(blob),
>                 options);
>     }
> +
> +   @Override
> +   public boolean createContainerInLocation(Location location, String 
> container,
> +                                            CreateContainerOptions options) {
> +      if (containerExists(container)) {
> +         // Return false if container already exists. See JCLOUDS-334 for 
> details.
> +         return false;
> +      }
> +      return super.createContainerInLocation(location, container, options);

See above.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/173/files#r6890490

Reply via email to