diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-03-04 05:04:49 +0000 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-03-04 05:04:49 +0000 |
| commit | 13307e02258a5a08bedb1ed933a107668aac6457 (patch) | |
| tree | 6da47765e3c005d8346968c44419bfb3b37641d3 /nova/api | |
| parent | bc94ec23100de9f07e04b0348823d4f103a9daa5 (diff) | |
make local image service work
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 8c2e77d86..aa1dcbe33 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -853,7 +853,7 @@ class CloudController(object): i['imageLocation'] = image['properties'].get('image_location') i['imageState'] = image['properties'].get('image_state') i['type'] = image.get('type') - i['isPublic'] = image['properties'].get('is_public') == 'True' + i['isPublic'] = str(image['properties'].get('is_public', '')) == 'True' i['architecture'] = image['properties'].get('architecture') return i |
