fix clojure interface for InetAddress change

This commit is contained in:
Hugo Duncan 2010-05-25 10:49:41 -04:00
parent 44d3a3131f
commit 07653f6ed6
1 changed files with 2 additions and 2 deletions

View File

@ -273,12 +273,12 @@ See http://code.google.com/p/jclouds for details."
(defn public-ips (defn public-ips
"Returns the node's public ips" "Returns the node's public ips"
[#^NodeMetadata node] [#^NodeMetadata node]
(map #(.getHostAddress %) (.getPublicAddresses node))) (.getPublicAddresses node))
(defn private-ips (defn private-ips
"Returns the node's private ips" "Returns the node's private ips"
[#^NodeMetadata node] [#^NodeMetadata node]
(map #(.getHostAddress %) (.getPrivateAddresses node))) (.getPrivateAddresses node))
(defn tag (defn tag
"Returns a the node's tag" "Returns a the node's tag"