deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject git commit: Fix mappings.
Date Wed, 12 Dec 2012 06:56:48 GMT
Updated Branches:
  refs/heads/master 6d8fc5579 -> 6f530d0e0


Fix mappings.

UNKNOWN mispeeled and add error state.

Signed-off-by: Ian Main <imain@redhat.com>


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

Branch: refs/heads/master
Commit: 6f530d0e04f1abc07d1129920e0b7202fc8dad6f
Parents: 6d8fc55
Author: Ian Main <imain@redhat.com>
Authored: Tue Dec 11 17:12:53 2012 -0800
Committer: marios <marios@redhat.com>
Committed: Wed Dec 12 08:51:30 2012 +0200

----------------------------------------------------------------------
 .../drivers/openstack/openstack_driver.rb          |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/6f530d0e/server/lib/deltacloud/drivers/openstack/openstack_driver.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/openstack/openstack_driver.rb b/server/lib/deltacloud/drivers/openstack/openstack_driver.rb
index bfec12e..ee9957a 100644
--- a/server/lib/deltacloud/drivers/openstack/openstack_driver.rb
+++ b/server/lib/deltacloud/drivers/openstack/openstack_driver.rb
@@ -540,10 +540,12 @@ private
               "STOPPED"
             when /build.*$/
               "PENDING"
+            when /error.*/
+              "STOPPED"
             when /active/
               "RUNNING"
             else
-              "UNKOWN"
+              "UNKNOWN"
           end
         end
 


Mime
View raw message