deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: VSphere: Fixed typo in handling InvalidLogin exception in valid_credentials?
Date Tue, 07 Feb 2012 12:33:41 GMT
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 <mfojtik@redhat.com>
Authored: Tue Feb 7 13:34:32 2012 +0100
Committer: Michal fojtik <mfojtik@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


Mime
View raw message