mirror of https://github.com/apache/jclouds.git
fixed node.getId() usage in clojure elastic ip wrapper
This commit is contained in:
parent
667c3ed03e
commit
fd2eea6e7d
|
@ -45,7 +45,7 @@
|
||||||
(defn associate
|
(defn associate
|
||||||
"Associates an elastic IP address with a node."
|
"Associates an elastic IP address with a node."
|
||||||
([#^NodeMetadata node public-ip]
|
([#^NodeMetadata node public-ip]
|
||||||
(associate node public-ip (.getId node)))
|
(associate node public-ip (.getProviderId node)))
|
||||||
([region public-ip instance-id]
|
([region public-ip instance-id]
|
||||||
(.associateAddressInRegion (eip-service)
|
(.associateAddressInRegion (eip-service)
|
||||||
(ebs/get-region region)
|
(ebs/get-region region)
|
||||||
|
|
Loading…
Reference in New Issue