mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
Fix version reporting
This commit is contained in:
1 parent
254e8f050c
commit
58f56f7a23
1 file changed
+2
-2
@@ -511,8 +511,8 @@ get '/version' do
|
||||
end
|
||||
end
|
||||
|
||||
if !version[:version] || version[:version].empty?
|
||||
version[:version] = OpenNebula::VERSION
|
||||
if !version["version"] || version["version"].empty?
|
||||
version["version"] = OpenNebula::VERSION
|
||||
end
|
||||
|
||||
[200, version.to_json]
|
||||
|
||||
Reference in new issue
Block a user