mirror of https://github.com/apache/jclouds.git
fixed node.getId() usage in clojure elastic ip wrapper
This commit is contained in:
parent
16cd44e430
commit
9b3e2aeaa7
|
@ -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