diff options
| author | Andy Smith <code@term.ie> | 2011-01-07 16:42:38 -0800 |
|---|---|---|
| committer | Andy Smith <code@term.ie> | 2011-01-07 16:42:38 -0800 |
| commit | d79600c1029ab91de8a81809df9efddc762351c0 (patch) | |
| tree | cd4bd0d6303d691f2c5e5fa8c4d15bef4cf080c7 /nova/api | |
| parent | 8fe01c087943ca9b46d25c84d4408b752461e6bd (diff) | |
small cleanups
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/servers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py index 0953b01ed..3f0fdc575 100644 --- a/nova/api/openstack/servers.py +++ b/nova/api/openstack/servers.py @@ -49,7 +49,7 @@ def _translate_detail_keys(inst): power_state.SHUTOFF: 'active', power_state.CRASHED: 'error'} inst_dict = {} - print inst + mapped_keys = dict(status='state', imageId='image_id', flavorId='instance_type', name='display_name', id='id') |
