mirror of https://github.com/apache/jclouds.git
fix clojure interface for InetAddress change
This commit is contained in:
parent
44d3a3131f
commit
07653f6ed6
|
@ -273,12 +273,12 @@ See http://code.google.com/p/jclouds for details."
|
|||
(defn public-ips
|
||||
"Returns the node's public ips"
|
||||
[#^NodeMetadata node]
|
||||
(map #(.getHostAddress %) (.getPublicAddresses node)))
|
||||
(.getPublicAddresses node))
|
||||
|
||||
(defn private-ips
|
||||
"Returns the node's private ips"
|
||||
[#^NodeMetadata node]
|
||||
(map #(.getHostAddress %) (.getPrivateAddresses node)))
|
||||
(.getPrivateAddresses node))
|
||||
|
||||
(defn tag
|
||||
"Returns a the node's tag"
|
||||
|
|
Loading…
Reference in New Issue