From: Martyn Taylor <mtaylor(a)redhat.com>
---
src/app/views/api/images/_factory_image.xml.haml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/views/api/images/_factory_image.xml.haml
b/src/app/views/api/images/_factory_image.xml.haml
index 09d2263..b930577 100644
--- a/src/app/views/api/images/_factory_image.xml.haml
+++ b/src/app/views/api/images/_factory_image.xml.haml
@@ -4,4 +4,4 @@
%target_images
- image.build.target_images.each do |target_image|
%target_image{:id => target_image.id, :href =>
api_target_image_url(target_image.id)}
- %status=Aeolus::Image::Factory::TargetImage.status(target_image.id)
\ No newline at end of file
+ %status=(Aeolus::Image::Factory::TargetImage.status(target_image.id) ||
"COMPLETE")
--
1.7.6.2