From ba7ba36d2073a2e84550e381d05b7dfae7340ade Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Tue, 24 Apr 2012 12:26:37 -0700 Subject: [PATCH] switched to buildView --- blobstore/src/main/clojure/org/jclouds/blobstore2.clj | 2 +- compute/src/main/clojure/org/jclouds/compute2.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blobstore/src/main/clojure/org/jclouds/blobstore2.clj b/blobstore/src/main/clojure/org/jclouds/blobstore2.clj index 1bb2a87abb..4d69e74dcc 100644 --- a/blobstore/src/main/clojure/org/jclouds/blobstore2.clj +++ b/blobstore/src/main/clojure/org/jclouds/blobstore2.clj @@ -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))))) diff --git a/compute/src/main/clojure/org/jclouds/compute2.clj b/compute/src/main/clojure/org/jclouds/compute2.clj index 35169afb6a..db3c4a6c89 100644 --- a/compute/src/main/clojure/org/jclouds/compute2.clj +++ b/compute/src/main/clojure/org/jclouds/compute2.clj @@ -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)))