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:
Adrian Cole 2010-03-12 16:00:55 -08:00
commit c16b50be76
1 changed files with 2 additions and 1 deletions

View File

@ -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]]}