diff options
| author | Naveed Massjouni <naveedm9@gmail.com> | 2011-02-28 19:56:46 -0500 |
|---|---|---|
| committer | Naveed Massjouni <naveedm9@gmail.com> | 2011-02-28 19:56:46 -0500 |
| commit | 4572ffcf734b734870b90497063fc27e7642f67c (patch) | |
| tree | 1e2a203ec0df7bfdd9af6da3f5845eb033113b92 | |
| parent | 7482055a1a7115d449f330a5069d59df977bb269 (diff) | |
| download | nova-4572ffcf734b734870b90497063fc27e7642f67c.tar.gz nova-4572ffcf734b734870b90497063fc27e7642f67c.tar.xz nova-4572ffcf734b734870b90497063fc27e7642f67c.zip | |
No reason to initialize metadata twice.
| -rw-r--r-- | nova/api/openstack/servers.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py index 7d20f681b..69273ad7b 100644 --- a/nova/api/openstack/servers.py +++ b/nova/api/openstack/servers.py @@ -72,8 +72,6 @@ def _translate_detail_keys(inst): public_ips = utils.get_from_path(inst, 'fixed_ip/floating_ips/address') inst_dict['addresses']['public'] = public_ips - inst_dict['metadata'] = {} - # Return the metadata as a dictionary metadata = {} for item in inst['metadata']: |
