diff options
| author | Jimmy Bergman <jimmy@sigint.se> | 2011-04-20 14:06:23 +0200 |
|---|---|---|
| committer | Jimmy Bergman <jimmy@sigint.se> | 2011-04-20 14:06:23 +0200 |
| commit | d992fbbde7c8e5274d80e2fce9c840e7209c78c6 (patch) | |
| tree | 50b9b7d79158c4d5a5180a3a0c25fa72b97eef9c | |
| parent | 1a814ba56a696ce796ab7707eacc2ee065c448e8 (diff) | |
Change response format of CreateVolume to match EC2
| -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 bd4c9dcd4..2bbe4c368 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) |
