You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2012/05/22 22:19:38 UTC
[48/50] [abbrv] git commit: Core: Fixed wrong brackets in response_to
block under load_balancers
Core: Fixed wrong brackets in response_to block under load_balancers
Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/5568b994
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/5568b994
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/5568b994
Branch: refs/heads/master
Commit: 5568b99400d20d2bacc7d62a409d40f16340865d
Parents: 5d2b743
Author: Michal Fojtik <mf...@redhat.com>
Authored: Wed May 2 12:22:18 2012 +0200
Committer: Michal fojtik <mf...@redhat.com>
Committed: Tue May 22 22:17:35 2012 +0200
----------------------------------------------------------------------
.../lib/deltacloud/collections/load_balancers.rb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/5568b994/server/lib/deltacloud/collections/load_balancers.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/collections/load_balancers.rb b/server/lib/deltacloud/collections/load_balancers.rb
index d093ead..f6fbc62 100644
--- a/server/lib/deltacloud/collections/load_balancers.rb
+++ b/server/lib/deltacloud/collections/load_balancers.rb
@@ -48,7 +48,7 @@ module Deltacloud::Collections
@load_balancer = driver.load_balancer(credential, params[:id])
respond_to do |format|
format.xml { haml :'load_balancers/show' }
- format.json ( xml_to_json('load_balancers/show'))
+ format.json { xml_to_json('load_balancers/show') }
format.html { haml :'load_balancers/show' }
end
end
@@ -61,7 +61,7 @@ module Deltacloud::Collections
@load_balancer = driver.load_balancer(credential, params[:id])
respond_to do |format|
format.xml { haml :'load_balancers/show' }
- format.json ( xml_to_json('load_balancers/show'))
+ format.json { xml_to_json('load_balancers/show')}
format.html { haml :'load_balancers/show' }
end
end