From 46f90f7cb79a01104376919c56e70a6324fe89af Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Sat, 14 Jan 2012 00:53:37 -0600 Subject: Fix volume api typo Introduced in https://review.openstack.org/3041 Change-Id: I9fc66b9c6ffff4b9dde7a10942158c86df548d43 --- nova/api/openstack/compute/contrib/volumes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/api') 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) -- cgit