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
|
(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"
|
||||||
|
|
Loading…
Reference in New Issue