summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorEwan Mellor <emellor@silver>2010-10-04 18:14:33 +0000
committerTarmac <>2010-10-04 18:14:33 +0000
commit3301a3de3ddc8c31ec96ff69329ff60846d0d2d3 (patch)
treeaea7b1ee350aa7c5525fce2fabc614e9a102e8e2 /bin
parent8a526ab99998c68a51981a60068f5abdb7f23c47 (diff)
parent65e2bbc31a7e4ea5d8f9456c2ea5b54715305d11 (diff)
downloadnova-3301a3de3ddc8c31ec96ff69329ff60846d0d2d3.tar.gz
nova-3301a3de3ddc8c31ec96ff69329ff60846d0d2d3.tar.xz
nova-3301a3de3ddc8c31ec96ff69329ff60846d0d2d3.zip
Add a context of None to the call to db.instance_get_all.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nova-manage2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nova-manage b/bin/nova-manage
index ce87b9437..5b72c170f 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -115,7 +115,7 @@ class VpnCommands(object):
def _vpn_for(self, project_id):
"""Get the VPN instance for a project ID."""
- for instance in db.instance_get_all():
+ for instance in db.instance_get_all(None):
if (instance['image_id'] == FLAGS.vpn_image_id
and not instance['state_description'] in
['shutting_down', 'shutdown']