You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by ma...@apache.org on 2013/02/08 18:22:58 UTC

[2/3] git commit: Fix issue with arubacloud driver - savon client configuration method changed

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 <ma...@redhat.com>
Authored: Fri Feb 8 18:21:55 2013 +0200
Committer: marios <ma...@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