diff options
| author | Andy Smith <code@term.ie> | 2011-01-12 15:01:23 -0800 |
|---|---|---|
| committer | Andy Smith <code@term.ie> | 2011-01-12 15:01:23 -0800 |
| commit | 1fa45c2ce52612455d88d1fdabec38d4bcc01ca7 (patch) | |
| tree | 9429d09356b45dd32ca9cf52bc9a64edbe45a34f /nova/api | |
| parent | c966028d5123940aecf4710a15082ae10fcc76e6 (diff) | |
| download | nova-1fa45c2ce52612455d88d1fdabec38d4bcc01ca7.tar.gz nova-1fa45c2ce52612455d88d1fdabec38d4bcc01ca7.tar.xz nova-1fa45c2ce52612455d88d1fdabec38d4bcc01ca7.zip | |
correct volume ids for ec2
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/ec2/cloud.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py index eb6f5548d..7df2feb98 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -574,7 +574,8 @@ class CloudController(object): 'device': volume['mountpoint'], 'instanceId': instance_ec2_id, 'status': 'attached', - 'volumeId': id_to_ec2_id(volume['id'], 'vol-%s')}] + 'volumeId': id_to_ec2_id(volume['id'], + 'vol-%s')}] else: v['attachmentSet'] = [{}] |
