You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by Chris Lalancette <cl...@redhat.com> on 2011/05/04 19:50:57 UTC
[PATCH] Create the correct HREF for loadbalancers.
Due to what I suppose was a rogue copy-n-paste, the HREF in
the XML output from a loadbalancer pointed to a key URL, not
a load_balancer URL. Fix that here.
Signed-off-by: Chris Lalancette <cl...@redhat.com>
---
server/views/load_balancers/show.xml.haml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/views/load_balancers/show.xml.haml b/server/views/load_balancers/show.xml.haml
index e36f79f..996bd8d 100644
--- a/server/views/load_balancers/show.xml.haml
+++ b/server/views/load_balancers/show.xml.haml
@@ -1,6 +1,6 @@
- unless defined?(partial)
!!! XML
-%load_balancer{ :href => key_url(@load_balancer.id), :id => @load_balancer.id}
+%load_balancer{ :href => load_balancer_url(@load_balancer.id), :id => @load_balancer.id}
%actions
%link{ :rel => "destroy", :method => "delete", :href => destroy_load_balancer_url(@load_balancer.id)}
%public_addresses
--
1.7.4.4
Re: [PATCH] Create the correct HREF for loadbalancers.
Posted by David Lutterkort <lu...@redhat.com>.
On Wed, 2011-05-04 at 13:50 -0400, Chris Lalancette wrote:
> Due to what I suppose was a rogue copy-n-paste, the HREF in
> the XML output from a loadbalancer pointed to a key URL, not
> a load_balancer URL. Fix that here.
>
> Signed-off-by: Chris Lalancette <cl...@redhat.com>
ACK; pushed
David