diff options
| author | Cerberus <matt.dietz@rackspace.com> | 2011-03-17 12:05:43 -0500 |
|---|---|---|
| committer | Cerberus <matt.dietz@rackspace.com> | 2011-03-17 12:05:43 -0500 |
| commit | 3afeb8466fa9f005edc9da182b1e0af6ffb00ade (patch) | |
| tree | a6f4532ba03b82e96831e679bbc2b29f2aed5675 | |
| parent | 686e113188aaf8195aed7bea8bf70c21b6bff498 (diff) | |
| download | nova-3afeb8466fa9f005edc9da182b1e0af6ffb00ade.tar.gz nova-3afeb8466fa9f005edc9da182b1e0af6ffb00ade.tar.xz nova-3afeb8466fa9f005edc9da182b1e0af6ffb00ade.zip | |
Mapping the resize status
| -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 59234b0de..fd835c247 100644 --- a/nova/api/openstack/servers.py +++ b/nova/api/openstack/servers.py @@ -66,7 +66,7 @@ def _translate_detail_keys(inst): inst['id'], 'finished') if migration: inst_dict['status'] = 'resize-confirm' - else + else: inst_dict['status'] = power_mapping[inst_dict['status']] inst_dict['addresses'] = dict(public=[], private=[]) |
