deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@redhat.com
Subject [PATCH] CIMI - fix returned 'CIMI-Specification-Version' 1.0.1
Date Tue, 20 Nov 2012 10:19:07 GMT
From: marios <marios@redhat.com>


Signed-off-by: marios <marios@redhat.com>
---
 server/config.ru                 | 2 +-
 server/lib/deltacloud/version.rb | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/server/config.ru b/server/config.ru
index 8ef20e5..efed62f 100644
--- a/server/config.ru
+++ b/server/config.ru
@@ -30,7 +30,7 @@ end
 
 Deltacloud::configure(:cimi) do |server|
   server.root_url '/cimi'
-  server.version Deltacloud::API_VERSION
+  server.version Deltacloud::CIMI_API_VERSION
   server.klass 'CIMI::API'
 end
 
diff --git a/server/lib/deltacloud/version.rb b/server/lib/deltacloud/version.rb
index 304c581..f39321e 100644
--- a/server/lib/deltacloud/version.rb
+++ b/server/lib/deltacloud/version.rb
@@ -16,4 +16,5 @@
 
 module Deltacloud
   API_VERSION = '1.0.5' unless defined?(API_VERSION)
+  CIMI_API_VERSION = '1.0.1'
 end
-- 
1.7.11.7


Mime
View raw message