diff options
| author | Hendrik Volkmer <h.volkmer@cloudbau.de> | 2012-11-02 12:23:13 +0000 |
|---|---|---|
| committer | Hendrik Volkmer <h.volkmer@cloudbau.de> | 2012-11-08 07:01:06 +0000 |
| commit | b415d675f544d8cffed8f82dac9d251fd5620cb1 (patch) | |
| tree | 755db2c754f1dd2d1fa851155f51c3174d78c1e6 /nova/openstack | |
| parent | 53edd1ef81820f948ed2ba4818667836be50d0ea (diff) | |
| download | nova-b415d675f544d8cffed8f82dac9d251fd5620cb1.tar.gz nova-b415d675f544d8cffed8f82dac9d251fd5620cb1.tar.xz nova-b415d675f544d8cffed8f82dac9d251fd5620cb1.zip | |
Removes unnecessary db query for instance type
The instance type information is already available in the instance
hash. This removes a db query and also reduces the likelyhood of a
race condtion where the instance type could change between the
point where boot API call was made and the request hits the compute
node.
blueprint no-db-compute
Change-Id: I8372a8c88049a8dacef86a7034c6df94c40c3001
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
