fixed node.getId() usage in clojure elastic ip wrapper

This commit is contained in:
Chas Emerick 2010-05-26 08:28:34 -04:00 committed by Adrian Cole
parent 16cd44e430
commit 9b3e2aeaa7
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
(defn associate
"Associates an elastic IP address with a node."
([#^NodeMetadata node public-ip]
(associate node public-ip (.getId node)))
(associate node public-ip (.getProviderId node)))
([region public-ip instance-id]
(.associateAddressInRegion (eip-service)
(ebs/get-region region)