diff --git a/blobstore/src/main/clojure/org/jclouds/blobstore2.clj b/blobstore/src/main/clojure/org/jclouds/blobstore2.clj index 2a98258c71..fb49d0966e 100644 --- a/blobstore/src/main/clojure/org/jclouds/blobstore2.clj +++ b/blobstore/src/main/clojure/org/jclouds/blobstore2.clj @@ -224,8 +224,10 @@ Options can also be specified for extension modules (defn put-blob "Put a blob. Metadata in the blob determines location." - [^BlobStore blobstore container-name blob] - (.putBlob blobstore container-name blob)) + [^BlobStore blobstore container-name blob & {:keys [multipart?]}] + (if multipart? + (.putBlobMultipart blobstore container-name blob) + (.putBlob blobstore container-name blob))) (defn blob-metadata "Get metadata from given path"