mirror of https://github.com/apache/jclouds.git
switched to buildView
This commit is contained in:
parent
b8b1a5f58a
commit
ba7ba36d20
|
@ -118,7 +118,7 @@ Options can also be specified for extension modules
|
|||
(modules (apply modules (concat ext-modules (opts :extensions))))
|
||||
(overrides (reduce #(do (.put %1 (name (first %2)) (second %2)) %1)
|
||||
(Properties.) (dissoc opts :extensions)))
|
||||
(build BlobStoreContext))]
|
||||
(buildView BlobStoreContext))]
|
||||
(if (some #(= :async %) options)
|
||||
(.getAsyncBlobStore context)
|
||||
(.getBlobStore context)))))
|
||||
|
|
|
@ -90,7 +90,7 @@ Here's an example of creating and running a small linux node in the group webser
|
|||
(modules (apply modules (concat ext-modules (opts :extensions))))
|
||||
(overrides (reduce #(do (.put %1 (name (first %2)) (second %2)) %1)
|
||||
(Properties.) (dissoc opts :extensions)))
|
||||
(build ComputeServiceContext)
|
||||
(buildView ComputeServiceContext)
|
||||
(getComputeService))))
|
||||
([#^ComputeServiceContext compute-context]
|
||||
(.getComputeService compute-context)))
|
||||
|
|
Loading…
Reference in New Issue