~sandy-walsh/nova/zones

« back to all changes in this revision

Viewing changes to nova/image/s3.py

  • Committer: Sandy Walsh
  • Date: 2011-02-17 21:39:03 UTC
  • mfrom: (635.1.60 nova)
  • Revision ID: sandy.walsh@rackspace.com-20110217213903-swehe88wea8inxow
changed from 003-004 migration

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
        if FLAGS.connection_type == 'fake':
95
95
            return {'imageId': 'bar'}
96
96
        result = self.index(context)
97
 
        result = [i for i in result if i['imageId'] == image_id]
 
97
        result = [i for i in result if i['id'] == image_id]
98
98
        if not result:
99
99
            raise exception.NotFound(_('Image %s could not be found')
100
100
                                     % image_id)