mirror of https://github.com/apache/jclouds.git
Changed deprecated call to .getTag to .getGroup
This commit is contained in:
parent
b129d17de3
commit
a542e85dad
|
@ -129,7 +129,7 @@ Here's an example of creating and running a small linux node in the group webser
|
||||||
(defn nodes-in-group
|
(defn nodes-in-group
|
||||||
"list details of all the nodes in the given group."
|
"list details of all the nodes in the given group."
|
||||||
([#^ComputeService compute #^String group]
|
([#^ComputeService compute #^String group]
|
||||||
(filter #(= (.getTag %) group) (nodes-with-details compute))))
|
(filter #(= (.getGroup %) group) (nodes-with-details compute))))
|
||||||
|
|
||||||
(defn images
|
(defn images
|
||||||
"Retrieve the available images for the compute context."
|
"Retrieve the available images for the compute context."
|
||||||
|
|
Loading…
Reference in New Issue