mirror of https://github.com/apache/jclouds.git
Automatically generate MD5 of payload in create-blob function.
This commit is contained in:
parent
40447696c7
commit
dba85d84dd
|
@ -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