diff options
| author | Ewan Mellor <emellor@silver> | 2010-10-04 18:14:33 +0000 |
|---|---|---|
| committer | Tarmac <> | 2010-10-04 18:14:33 +0000 |
| commit | 3301a3de3ddc8c31ec96ff69329ff60846d0d2d3 (patch) | |
| tree | aea7b1ee350aa7c5525fce2fabc614e9a102e8e2 | |
| parent | 8a526ab99998c68a51981a60068f5abdb7f23c47 (diff) | |
| parent | 65e2bbc31a7e4ea5d8f9456c2ea5b54715305d11 (diff) | |
| download | nova-3301a3de3ddc8c31ec96ff69329ff60846d0d2d3.tar.gz nova-3301a3de3ddc8c31ec96ff69329ff60846d0d2d3.tar.xz nova-3301a3de3ddc8c31ec96ff69329ff60846d0d2d3.zip | |
Add a context of None to the call to db.instance_get_all.
| -rwxr-xr-x | bin/nova-manage | 2 |
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'] |
