summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-02-10 20:34:04 +0000
committerGerrit Code Review <review@openstack.org>2012-02-10 20:34:04 +0000
commit3d196395284d6df84abff6b6bd17e3ee8ef96514 (patch)
tree28efe72fc3e593e282863ba39809cb2e473dcfb9 /nova/api
parent8cc4fdc9ef3b828f85bdbb4e2d78912e7638bb9e (diff)
parentf7deddb89ce63c2ccc7a207461188aeb7a41af32 (diff)
Merge "Fix status transition when reverting resize"
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/api/openstack/common.py b/nova/api/openstack/common.py
index c19b8f103..903649c02 100644
--- a/nova/api/openstack/common.py
+++ b/nova/api/openstack/common.py
@@ -66,6 +66,7 @@ _STATE_MAP = {
},
vm_states.RESIZING: {
'default': 'RESIZE',
+ task_states.RESIZE_REVERTING: 'REVERT_RESIZE',
},
vm_states.PAUSED: {
'default': 'PAUSED',