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/02/07 13:33:41 UTC

git commit: VSphere: Fixed typo in handling InvalidLogin exception in valid_credentials?

Updated Branches:
  refs/heads/master a9ce30265 -> 3f9fa7593


VSphere: Fixed typo in handling InvalidLogin exception in valid_credentials?


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

Branch: refs/heads/master
Commit: 3f9fa759310f60f461fa4b405a6cfeaba44c806c
Parents: a9ce302
Author: Michal Fojtik <mf...@redhat.com>
Authored: Tue Feb 7 13:34:32 2012 +0100
Committer: Michal fojtik <mf...@redhat.com>
Committed: Tue Feb 7 13:34:32 2012 +0100

----------------------------------------------------------------------
 .../deltacloud/drivers/vsphere/vsphere_driver.rb   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/3f9fa759/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb b/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
index 51b6648..b60d7c4 100644
--- a/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
+++ b/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
@@ -371,7 +371,7 @@ module Deltacloud::Drivers::VSphere
     def valid_credentials?(credentials)
       begin
         RbVmomi::VIM.connect(:host => host_endpoint, :user => credentials.user, :password => credentials.password, :insecure => true) && true
-      rescue RbVmomi::Fault:InvalidLogin
+      rescue RbVmomi::Fault::InvalidLogin
         return false
       rescue => e
         safely do