diff options
author | Russell Bryant <rbryant@redhat.com> | 2012-11-05 16:43:08 -0500 |
---|---|---|
committer | Russell Bryant <rbryant@redhat.com> | 2012-11-08 09:34:25 -0500 |
commit | 81767e7dad2bce2688137ab0ba999c346f75217a (patch) | |
tree | 48b95701fd384ee3afdb27803f8997eaa65e7c2a /nova/exception.py | |
parent | 0d51778bca2f7eb8a1ba4fb89e0e9a47c73fc466 (diff) | |
download | nova-81767e7dad2bce2688137ab0ba999c346f75217a.tar.gz nova-81767e7dad2bce2688137ab0ba999c346f75217a.tar.xz nova-81767e7dad2bce2688137ab0ba999c346f75217a.zip |
Send instance_type to resize_instance.
Send the instance_type as an argument to the resize_instance method in
the compute rpc api. Previously, the code would look up the new
instance_type's ID that is saved in the migration, and then look up the
instance_type in the db using the ID. This removes another db read from
the nova-compute service.
Part of blueprint no-db-compute.
Change-Id: Ica45cb94191e9418446056e4fb59d3b9337a41ec
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions