deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: VSphere: Added error handling for the Undefined namespace prefix error (BZ: #805171)
Date Fri, 01 Jun 2012 06:48:49 GMT
Updated Branches:
  refs/heads/master 5aa335bef -> 5d97b45e2


VSphere: Added error handling for the Undefined namespace prefix error (BZ: #805171)


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

Branch: refs/heads/master
Commit: 5d97b45e28d884a7ab126c60ac6cbcb9be272da1
Parents: 5aa335b
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Fri Jun 1 08:48:29 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Fri Jun 1 08:48:48 2012 +0200

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


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/5d97b45e/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 253a2e5..a97ea26 100644
--- a/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
+++ b/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
@@ -364,6 +364,11 @@ module Deltacloud::Drivers::Vsphere
         status 502
       end
 
+      on /Undefined namespace prefix/ do
+        message 'VSphere Internal Error'
+        status 502
+      end
+
       on /Failed to inject data/ do
         status 502
       end


Mime
View raw message