https://bugzilla.redhat.com/show_bug.cgi?id=805134

Quota was showing up as 'x of y' where x is instances in use, and y was 
available instances.
This was incorrect, since "of y" implies that y is the total quota, not the 
free space.
---
 src/app/views/pools/_scoreboard_show.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/views/pools/_scoreboard_show.html.haml 
b/src/app/views/pools/_scoreboard_show.html.haml
index 78c6dd5..334b4e8 100644
--- a/src/app/views/pools/_scoreboard_show.html.haml
+++ b/src/app/views/pools/_scoreboard_show.html.haml
@@ -29,5 +29,5 @@
         %dd.fraction.instance
           %span.part= @statistics[:used_quota]
           %span.divider.label.small.caps of
-          %span.total= @statistics[:available_quota] or '∞'.html_safe
+          %span.total= @pool.quota.maximum_running_instances or 
'∞'.html_safe
 -# TODO: Implement alerts and updates
-- 
1.7.11.4

Reply via email to