diff options
author | Russell Bryant <rbryant@redhat.com> | 2012-11-05 16:17:41 -0500 |
---|---|---|
committer | Russell Bryant <rbryant@redhat.com> | 2012-11-08 09:34:25 -0500 |
commit | 0d51778bca2f7eb8a1ba4fb89e0e9a47c73fc466 (patch) | |
tree | fda1bc24fb9405582e17db6cfa5a5342b3adf6ee /nova/exception.py | |
parent | 1a3ac5aa659c2fc9b6b90a0f49caadc7f967ec2b (diff) | |
download | nova-0d51778bca2f7eb8a1ba4fb89e0e9a47c73fc466.tar.gz nova-0d51778bca2f7eb8a1ba4fb89e0e9a47c73fc466.tar.xz nova-0d51778bca2f7eb8a1ba4fb89e0e9a47c73fc466.zip |
Remove instance_type db lookup in prep_resize.
Remove a db read in prep_resize() by grabbing the instance_type data out
of the instance dict. The code was unnecessarily looking it up from the
db.
Part of blueprint no-db-compute.
Change-Id: I6e26a8a90f7cfca12426fad2430a0eb73991f42f
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions