mirror of
https://github.com/apache/jclouds.git
synced 2025-02-26 04:27:13 +00:00
Removed extra parentheses
This commit is contained in:
parent
586367f6f2
commit
bf3e66a6b2
@ -123,7 +123,7 @@ See http://code.google.com/p/jclouds for details."
|
|||||||
|
|
||||||
(defn nodes-with-tag
|
(defn nodes-with-tag
|
||||||
[#^String tag #^ComputeService compute]
|
[#^String tag #^ComputeService compute]
|
||||||
(seq (.listNodesMatching(compute (NodePredicates/withTag tag)))))
|
(seq (.listNodesMatching compute (NodePredicates/withTag tag))))
|
||||||
|
|
||||||
(defn nodes
|
(defn nodes
|
||||||
"Retrieve the existing nodes for the compute context."
|
"Retrieve the existing nodes for the compute context."
|
||||||
@ -216,7 +216,7 @@ See http://code.google.com/p/jclouds for details."
|
|||||||
"Reboot all the nodes with the given tag."
|
"Reboot all the nodes with the given tag."
|
||||||
([tag] (reboot-nodes-with-tag tag *compute*))
|
([tag] (reboot-nodes-with-tag tag *compute*))
|
||||||
([#^String tag #^ComputeService compute]
|
([#^String tag #^ComputeService compute]
|
||||||
(.rebootNodesMatching(compute (NodePredicates/withTag tag)))))
|
(.rebootNodesMatching compute (NodePredicates/withTag tag))))
|
||||||
|
|
||||||
(defn reboot-node
|
(defn reboot-node
|
||||||
"Reboot a given node."
|
"Reboot a given node."
|
||||||
@ -228,7 +228,7 @@ See http://code.google.com/p/jclouds for details."
|
|||||||
"Destroy all the nodes with the given tag."
|
"Destroy all the nodes with the given tag."
|
||||||
([tag] (destroy-nodes-with-tag tag *compute*))
|
([tag] (destroy-nodes-with-tag tag *compute*))
|
||||||
([#^String tag #^ComputeService compute]
|
([#^String tag #^ComputeService compute]
|
||||||
(seq (.destroyNodesMatching(compute (NodePredicates/withTag tag))))))
|
(.destroyNodesMatching compute (NodePredicates/withTag tag))))
|
||||||
|
|
||||||
(defn destroy-node
|
(defn destroy-node
|
||||||
"Destroy a given node."
|
"Destroy a given node."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user