diff options
| author | Jason Kölker <jason@koelker.net> | 2011-05-24 12:43:25 -0500 |
|---|---|---|
| committer | Jason Kölker <jason@koelker.net> | 2011-05-24 12:43:25 -0500 |
| commit | 1f8ef6907a5e1c1f88b0fc9f28084dbc8014274f (patch) | |
| tree | 889c341fcefd0312e60648f561032348e1ea2378 | |
| parent | 72b173279657f16492280923d562d4dcb705d724 (diff) | |
we don't get the network in a tuples anymore
| -rw-r--r-- | nova/compute/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py index c7ee0a119..8000d1804 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -694,8 +694,8 @@ class API(base.Base): # in its info, if this changes, the next few lines will need to # accomodate the info containing floating as well as fixed ip addresses fixed_ip_addrs = [] - for (network, info) in self.network_api.get_instance_nw_info(context, - instance): + 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']]) # TODO(tr3buchet): this will associate the floating IP with the first |
