incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@redhat.com
Subject [PATCH 2/5] load_balancers: properly show instance_port in HTML
Date Wed, 04 May 2011 22:42:04 GMT
From: David Lutterkort <lutter@redhat.com>


Signed-off-by: David Lutterkort <lutter@redhat.com>
---
 server/views/load_balancers/index.html.haml |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/server/views/load_balancers/index.html.haml b/server/views/load_balancers/index.html.haml
index f75b1c6..dcf7b80 100644
--- a/server/views/load_balancers/index.html.haml
+++ b/server/views/load_balancers/index.html.haml
@@ -23,11 +23,10 @@
             ="#{listener.protocol}[#{listener.load_balancer_port}]<br/>"
         %td
           - balancer.listeners.each do |listener|
-            ="#{listener.protocol}[#{listener.load_balancer_port}]<br/>"
+            ="#{listener.protocol}[#{listener.instance_port}]<br/>"
         %td
           =link_to_action 'Destroy', destroy_load_balancer_url(balancer.id), :delete
   %tfoot
     %tr
       %td{:colspan => 6, :style => "text-align:right;"}
         =link_to 'Create &raquo;', "#{url_for('/api/load_balancers/new')}", :class =>
'button'
-
-- 
1.7.4.4


Mime
View raw message