[PATCH aeolus-conductor] BZ#790250 Check Build Status on Show Image

mtaylor at redhat.com mtaylor at redhat.com
Tue Feb 28 17:37:46 UTC 2012


From: Martyn Taylor <mtaylor at redhat.com>

---
 src/app/views/images/show.html.haml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/app/views/images/show.html.haml b/src/app/views/images/show.html.haml
index 7681cee..8feaeb3 100644
--- a/src/app/views/images/show.html.haml
+++ b/src/app/views/images/show.html.haml
@@ -55,7 +55,7 @@
               %dt
                 .build-actions
                   %h3= group[:type].name
-                  - if @build and b = @builder.find_active_build(@build.id, driver)
+                  - if b = @builder.find_active_build_by_imageid(@image.id, driver)
                     = label_tag b.status
                   - elsif timg
                     = button_to t('.delete'), image_target_image_path(@image.id, timg.id), :method => :delete
-- 
1.7.6.4




More information about the aeolus-devel mailing list