diff options
author | Dan Smith <danms@us.ibm.com> | 2012-11-07 12:58:34 -0800 |
---|---|---|
committer | Dan Smith <danms@us.ibm.com> | 2012-11-08 11:38:36 -0800 |
commit | da1b387d36cda0297da097f1389bd382559d6fa5 (patch) | |
tree | 4be86b35572f577edfc0700b152292947913f244 /nova/utils.py | |
parent | 0ea8a37db8c369c245584702d90daf3c94bf6f79 (diff) | |
download | nova-da1b387d36cda0297da097f1389bd382559d6fa5.tar.gz nova-da1b387d36cda0297da097f1389bd382559d6fa5.tar.xz nova-da1b387d36cda0297da097f1389bd382559d6fa5.zip |
Avoid unnecessary system_metadata db lookup
The bittorrent code in the xenapi driver added a specific database
query for the instance_system_metadata. This query is unnecessary,
as the system_metadata is available in the instance object itself.
This patch removes the queries and adds the small amount of
format translation required.
Change-Id: If72593289e18d2c45db8e782972eb9051e10d740
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions