diff options
| author | Jimmy Bergman <jimmy@sigint.se> | 2011-04-21 22:01:25 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-04-21 22:01:25 +0000 |
| commit | 7bbfc3d771d807cb072325f656a7febf1d38459a (patch) | |
| tree | 95d6562e4ea5d9505ffcdb5ccd783ce55f9b2a9e /nova | |
| parent | bec71bed9450d13202fdd7f54946e1376b271a2c (diff) | |
| parent | 19aaf2523b1f157b5f9cad0d625857e98c19002b (diff) | |
Change response of the EC2 API CreateVolume method to match the API docs for EC2.
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/api/ec2/cloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py index 4785d812a..1b70032a9 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -613,7 +613,7 @@ class CloudController(object): # TODO(vish): Instance should be None at db layer instead of # trying to lazy load, but for now we turn it into # a dict to avoid an error. - return {'volumeSet': [self._format_volume(context, dict(volume))]} + return self._format_volume(context, dict(volume)) def delete_volume(self, context, volume_id, **kwargs): volume_id = ec2utils.ec2_id_to_id(volume_id) |
