deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [2/3] git commit: Fix issue with arubacloud driver - savon client configuration method changed
Date Fri, 08 Feb 2013 17:22:58 GMT
Fix issue with arubacloud driver - savon client configuration method changed

https://issues.apache.org/jira/browse/DTACLOUD-444


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/b550061a
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/b550061a
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/b550061a

Branch: refs/heads/master
Commit: b550061af10ed48d47e72f48af821ca5033cf2db
Parents: cd746e6
Author: marios <marios@redhat.com>
Authored: Fri Feb 8 18:21:55 2013 +0200
Committer: marios <marios@redhat.com>
Committed: Fri Feb 8 18:21:55 2013 +0200

----------------------------------------------------------------------
 .../drivers/arubacloud/arubacloud_driver.rb        |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/b550061a/server/lib/deltacloud/drivers/arubacloud/arubacloud_driver.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/arubacloud/arubacloud_driver.rb b/server/lib/deltacloud/drivers/arubacloud/arubacloud_driver.rb
index 0fd8bee..4a24760 100644
--- a/server/lib/deltacloud/drivers/arubacloud/arubacloud_driver.rb
+++ b/server/lib/deltacloud/drivers/arubacloud/arubacloud_driver.rb
@@ -17,9 +17,6 @@
 
 require "savon"
 
-Savon.configure do |config|
-  config.log = false
-end
 HTTPI.log = false
 
 
@@ -307,7 +304,7 @@ class ArubacloudDriver < Deltacloud::BaseDriver
   def new_client(credentials, realm_id=nil)
     safely do
       wsdl = realm_id ? Deltacloud::Drivers::driver_config[:aruba][:entrypoints]["compute"]["dc#{realm_id}"]
: endpoint
-      client = Savon.client(wsdl)
+      client = Savon.client({wsdl: wsdl, log: false})
       client.wsse.credentials credentials.user, credentials.password
       client.request :get_user_authentication_token
       client


Mime
View raw message