You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by lu...@apache.org on 2011/05/04 23:03:36 UTC
svn commit: r1099607 -
/incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml
Author: lutter
Date: Wed May 4 21:03:35 2011
New Revision: 1099607
URL: http://svn.apache.org/viewvc?rev=1099607&view=rev
Log:
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>
Modified:
incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml
Modified: incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml?rev=1099607&r1=1099606&r2=1099607&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml (original)
+++ incubator/deltacloud/trunk/server/views/load_balancers/show.xml.haml Wed May 4 21:03:35 2011
@@ -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