ACK - I made a couple edits to this patch and pushed (some of the attributes of machine image have changed since this code was originally writted - see cimi spec @ [1] ).
updated patch attached to relevant jira ticket : https://issues.apache.org/jira/browse/DTACLOUD-405 pushed with commit # 162e8ec1540cfc5050cb8a071aeab1eb9f99f435 marios [1] http://dmtf.org/sites/default/files/standards/documents/DSP0263_1.0.1.pdf On 02/01/13 18:10, [email protected] wrote: > From: NjeriChelimo <[email protected]> > > --- > clients/cimi/views/machine_images/show.haml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/clients/cimi/views/machine_images/show.haml > b/clients/cimi/views/machine_images/show.haml > index 1bbe6c7..68ed2fe 100644 > --- a/clients/cimi/views/machine_images/show.haml > +++ b/clients/cimi/views/machine_images/show.haml > @@ -22,5 +22,5 @@ > - row 'Description', @machine_image.description > - row 'State', @machine_image.state > - row 'Created', @machine_image.created > - - row 'Image Location', @machine_image.image_location.href > - - row 'Image Data', @machine_image.image_data > + - row 'Image Location', @machine_image.image_location.href if > @machine_image.image_location > + - row 'Image Data', @machine_image.image_data if > @machine_image.respond_to?(:image_data) >
