deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: VSphere: Capture Vsphere exception when trying to inject data into non-existing or misconfigured datastore (DTACLOUD-203)
Date Wed, 13 Jun 2012 13:07:59 GMT
Updated Branches:
  refs/heads/master e9a17f619 -> 43af3a1e1


VSphere: Capture Vsphere exception when trying to inject data into non-existing or misconfigured
datastore (DTACLOUD-203)


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

Branch: refs/heads/master
Commit: 43af3a1e109cc608af654b0e016f35c741635d2a
Parents: e9a17f6
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Wed Jun 13 15:08:48 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Wed Jun 13 15:08:48 2012 +0200

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


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/43af3a1e/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 69a559d..604ddbe 100644
--- a/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
+++ b/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
@@ -373,6 +373,10 @@ module Deltacloud::Drivers::Vsphere
         status 502
       end
 
+      on /Requested datastore does not exists or misconfigured/ do
+        status 502
+      end
+
       on /Connection timed out/ do
         status 504
       end


Mime
View raw message