mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
Fix version reporting
This commit is contained in:
parent
254e8f050c
commit
58f56f7a23
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user