From 3776354f59275dc2f87381f4edef9d7712107ad6 Mon Sep 17 00:00:00 2001 From: Hugo Duncan Date: Fri, 2 Apr 2010 15:04:44 -0400 Subject: [PATCH] fixed bug in as-compute-service when passed credentials --- compute/src/main/clojure/org/jclouds/compute.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compute/src/main/clojure/org/jclouds/compute.clj b/compute/src/main/clojure/org/jclouds/compute.clj index 00dc0f8fa7..d245e3278f 100644 --- a/compute/src/main/clojure/org/jclouds/compute.clj +++ b/compute/src/main/clojure/org/jclouds/compute.clj @@ -64,7 +64,7 @@ See http://code.google.com/p/jclouds for details." (cond (compute-service? (first args)) (first args) (compute-context? (first args)) (.getComputeService (first args)) - :else (apply compute-context args))) + :else (apply compute-service args))) (def *compute*)