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 <[email protected]>
---
 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

Reply via email to