mirror of https://github.com/apache/jclouds.git
Merge branch 'master' of git@github.com:jclouds/jclouds
* 'master' of git@github.com:jclouds/jclouds: Automatically generate MD5 of payload in create-blob function.
This commit is contained in:
commit
c16b50be76
|
@ -242,7 +242,8 @@ container, name, string -> etag
|
||||||
([blobstore container-name name data]
|
([blobstore container-name name data]
|
||||||
(put-blob blobstore container-name
|
(put-blob blobstore container-name
|
||||||
(doto (.newBlob blobstore name)
|
(doto (.newBlob blobstore name)
|
||||||
(.setPayload data)))))
|
(.setPayload data)
|
||||||
|
(.generateMD5)))))
|
||||||
|
|
||||||
(defmulti #^{:arglists '[[container-name name target]
|
(defmulti #^{:arglists '[[container-name name target]
|
||||||
[blobstore container-name name target]]}
|
[blobstore container-name name target]]}
|
||||||
|
|
Loading…
Reference in New Issue