diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-04-05 15:01:33 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-04-05 15:01:33 -0700 |
| commit | 56eb682a169c20a9a8275b3b9bfd423f0d562cbc (patch) | |
| tree | ccd2baab05097fa8f2ef5b388c0783d8f0e4dec8 /nova/api | |
| parent | 7ab8478e312faabcbe2b2ef00c4b0a5cad2af11d (diff) | |
unite the filtering done by glance client and s3
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 02a30220a..b4705820e 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -927,7 +927,7 @@ class CloudController(object): 'ari': 'ramdisk', 'ami': 'machine'} i['imageType'] = display_mapping.get(image_type) - i['isPublic'] = str(image['properties'].get('is_public', '')) == 'True' + i['isPublic'] = image.get('is_public') == True i['architecture'] = image['properties'].get('architecture') return i |
