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)
-- 
1.7.9.5

Reply via email to