summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2012-01-14 00:53:37 -0600
committerDean Troyer <dtroyer@gmail.com>2012-01-14 00:57:02 -0600
commit46f90f7cb79a01104376919c56e70a6324fe89af (patch)
treebcf30bee7798ace4fdd7beeda2750dfc6c388971 /nova/api
parentbb10721ffc14abb86ab4d58b2b30fc676e88d394 (diff)
Fix volume api typo
Introduced in https://review.openstack.org/3041 Change-Id: I9fc66b9c6ffff4b9dde7a10942158c86df548d43
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/compute/contrib/volumes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/compute/contrib/volumes.py b/nova/api/openstack/compute/contrib/volumes.py
index 4509a4e1f..83e67102b 100644
--- a/nova/api/openstack/compute/contrib/volumes.py
+++ b/nova/api/openstack/compute/contrib/volumes.py
@@ -192,7 +192,7 @@ class VolumeController(object):
metadata = vol.get('metadata', None)
- snapshot_id = vol.get('snapshot_id'),
+ snapshot_id = vol.get('snapshot_id')
if snapshot_id is not None:
snapshot = self.volume_api.get_snapshot(context, snapshot_id)