diff options
| author | Dan Prince <dan.prince@rackspace.com> | 2011-08-16 10:49:26 -0400 |
|---|---|---|
| committer | Dan Prince <dan.prince@rackspace.com> | 2011-08-16 10:49:26 -0400 |
| commit | 0801dee7b05463b40bf66ee5911c92ac5e4aabc8 (patch) | |
| tree | 66d759676ac60a9f4e5134afbe09df0caaaa3158 /nova/api | |
| parent | 741d45ce20844fb28f5f0ade48701a5858cf2a4b (diff) | |
| download | nova-0801dee7b05463b40bf66ee5911c92ac5e4aabc8.tar.gz nova-0801dee7b05463b40bf66ee5911c92ac5e4aabc8.tar.xz nova-0801dee7b05463b40bf66ee5911c92ac5e4aabc8.zip | |
Fix test_metadata tests.
Diffstat (limited to 'nova/api')
| -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 152cd6887..9aebf92e3 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -305,7 +305,7 @@ class CloudController(object): 'hostname': hostname, 'instance-action': 'none', 'instance-id': ec2_id, - 'instance-type': instance_ref['instance_type'].name, + 'instance-type': instance_ref['instance_type']['name'], 'local-hostname': hostname, 'local-ipv4': address, 'placement': {'availability-zone': availability_zone}, |
