summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorDan Smith <danms@us.ibm.com>2013-03-26 13:14:56 -0700
committerDan Smith <danms@us.ibm.com>2013-03-26 13:14:56 -0700
commit985d703d2731fe9ec968ef6698bbf39743ede32a (patch)
tree9a2d715abd8292780ce80a157c1609f83a4c6170 /nova/openstack
parent2900258d5e117afd302ecff3411658910078d431 (diff)
downloadnova-985d703d2731fe9ec968ef6698bbf39743ede32a.tar.gz
nova-985d703d2731fe9ec968ef6698bbf39743ede32a.tar.xz
nova-985d703d2731fe9ec968ef6698bbf39743ede32a.zip
Always store old instance_type during a migration
Previously, we were trying to optimize for the migration (as opposed to resize) case by not storing the old_ instance_type. However, this is confusing to the vast amount of shared code that works on migrations and resizes because the "is old == new" logic must be replicated everywhere. To cut our losses and hopefully avoid other hidden dragons, this patch removes the optimization and makes both paths the same. Fixes bug #1160489 Change-Id: I2ad7b02239baada5fd2174f5b61cdc90ec91e6f5
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions