You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by lu...@redhat.com on 2011/05/05 00:42:04 UTC
[PATCH 2/5] load_balancers: properly show instance_port in HTML
From: David Lutterkort <lu...@redhat.com>
Signed-off-by: David Lutterkort <lu...@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 »', "#{url_for('/api/load_balancers/new')}", :class => 'button'
-
--
1.7.4.4