summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Kölker <jason@koelker.net>2011-05-24 13:21:53 -0500
committerJason Kölker <jason@koelker.net>2011-05-24 13:21:53 -0500
commit416f6eef591390e6a53d9aae71ca8fd65a098129 (patch)
tree1a53414c51127a5807d7d48bc39c60e96bf39421
parent1f8ef6907a5e1c1f88b0fc9f28084dbc8014274f (diff)
its a dict, not a class
-rw-r--r--nova/compute/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index 8000d1804..149d1b7d3 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -696,7 +696,7 @@ class API(base.Base):
fixed_ip_addrs = []
for info in self.network_api.get_instance_nw_info(context,
instance):
- fixed_ip_addrs.extend([ip_dict.ip for ip_dict in info['ips']])
+ fixed_ip_addrs.extend([ip_dict['ip'] for ip_dict in info['ips']])
# TODO(tr3buchet): this will associate the floating IP with the first
# fixed_ip (lowest id) an instance has. This should be changed to