From 586367f6f2996aabf976a5cb3e17f191724e8f36 Mon Sep 17 00:00:00 2001 From: Chas Emerick Date: Fri, 14 May 2010 13:15:10 -0400 Subject: [PATCH] restore no-arg compute/nodes overload --- compute/src/main/clojure/org/jclouds/compute.clj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compute/src/main/clojure/org/jclouds/compute.clj b/compute/src/main/clojure/org/jclouds/compute.clj index 8bcc5fbf6f..bd9b5f5909 100644 --- a/compute/src/main/clojure/org/jclouds/compute.clj +++ b/compute/src/main/clojure/org/jclouds/compute.clj @@ -127,8 +127,9 @@ See http://code.google.com/p/jclouds for details." (defn nodes "Retrieve the existing nodes for the compute context." - [#^ComputeService compute] - (seq (.listNodes compute))) + ([] (nodes *compute*)) + ([#^ComputeService compute] + (seq (.listNodes compute)))) (defn images "Retrieve the available images for the compute context."