~sandy-walsh/nova/zones

« back to all changes in this revision

Viewing changes to nova/api/ec2/cloud.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:
883
883
                                     % attribute)
884
884
        try:
885
885
            image = self.image_service.show(context, image_id)
 
886
            image = self._format_image(context,
 
887
                                       self.image_service.show(context,
 
888
                                                               image_id))
886
889
        except IndexError:
887
890
            raise exception.ApiError(_('invalid id: %s') % image_id)
888
891
        result = {'image_id': image_id, 'launchPermission': []}