From 6c4294ed1cdd5f127e18858124ae0386ab9f65fe Mon Sep 17 00:00:00 2001 From: Mattias Holmqvist Date: Wed, 11 May 2011 00:55:21 +0200 Subject: [PATCH] Changed the order of args for some fns in compute2.clj. ComputeService should be the first arg --- compute/src/main/clojure/org/jclouds/compute2.clj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compute/src/main/clojure/org/jclouds/compute2.clj b/compute/src/main/clojure/org/jclouds/compute2.clj index 40eefbc56f..a53d95b865 100644 --- a/compute/src/main/clojure/org/jclouds/compute2.clj +++ b/compute/src/main/clojure/org/jclouds/compute2.clj @@ -197,7 +197,7 @@ Here's an example of creating and running a small linux node in the group webser (defn suspend-node "Suspend a node, given its id." - ([id #^ComputeService compute] + ([#^ComputeService compute id] (.suspendNode compute id))) (defn resume-nodes-matching @@ -208,7 +208,7 @@ Here's an example of creating and running a small linux node in the group webser (defn resume-node "Resume a node, given its id." - ([id #^ComputeService compute] + ([#^ComputeService compute id] (.resumeNode compute id))) (defn reboot-nodes-matching @@ -219,7 +219,7 @@ Here's an example of creating and running a small linux node in the group webser (defn reboot-node "Reboot a node, given its id." - ([id #^ComputeService compute] + ([#^ComputeService compute id] (.rebootNode compute id))) (defn destroy-nodes-matching @@ -230,7 +230,7 @@ Here's an example of creating and running a small linux node in the group webser (defn destroy-node "Destroy a node, given its id." - ([id #^ComputeService compute] + ([#^ComputeService compute id] (.destroyNode compute id))) (defmacro state-predicate [node state]