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

This commit is contained in:
Chas Emerick 2010-05-26 08:28:34 -04:00
parent 667c3ed03e
commit fd2eea6e7d
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)