summaryrefslogtreecommitdiffstats
path: root/bin/stack
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2011-09-20 00:46:38 +0000
committerTarmac <>2011-09-20 00:46:38 +0000
commit58acb29afb45f15196484e5fcd40b3e098a82d24 (patch)
tree6adf6959efdf5b444948a97eeb13be6ec984f033 /bin/stack
parent897f595b86d8f403c4afa0f2aa73bb815030a943 (diff)
parent879f4259e6512f03d5b49a22e219d17d3aa04b56 (diff)
downloadnova-58acb29afb45f15196484e5fcd40b3e098a82d24.tar.gz
nova-58acb29afb45f15196484e5fcd40b3e098a82d24.tar.xz
nova-58acb29afb45f15196484e5fcd40b3e098a82d24.zip
Reverted some changes to instance_get_all_by_filters() that was added in rev 1594. An additional argument for filtering on instance uuids is not needed, as you can add 'uuid: uuid_list' into the filters dictionary. Just needed to add 'uuid' as an exact_match_filter. This restores the filtering to do a single DB query.
Also updated ID/UUID mapping code to be a little more efficient, by returning a dictionary of 'ID: UUID'... vs a list. Fixed a test that assumed list order. A couple of typo fixes and a pep8 issue in trunk also fixed.
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions