diff options
author | Ryan Lane <rlane@wikimedia.org> | 2011-01-20 19:33:37 +0000 |
---|---|---|
committer | Ryan Lane <rlane@wikimedia.org> | 2011-01-20 19:33:37 +0000 |
commit | 7511b1b50b9a3f9d7dc7f3aaec6187577d97f194 (patch) | |
tree | 9173adc57475106c2b554a3bf1e85996a15e1794 | |
parent | 33803f02a3b4bd16d394363179a8b91b7f295318 (diff) | |
download | nova-7511b1b50b9a3f9d7dc7f3aaec6187577d97f194.tar.gz nova-7511b1b50b9a3f9d7dc7f3aaec6187577d97f194.tar.xz nova-7511b1b50b9a3f9d7dc7f3aaec6187577d97f194.zip |
Fixing another instance of getting a list of ids instead of a list of objects.
-rw-r--r-- | nova/compute/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py index 3c232152e..6a3fe08b6 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -255,7 +255,7 @@ class API(base.Base): instances = set() for security_group in security_groups: for instance in security_group['instances']: - instances.add(instance['id']) + instances.add(instance) # ...then we find the hosts where they live... hosts = set() |