1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

F #3167: Fix typo on Sunstone backend

Preventing the correct caching of the validate token

(cherry picked from commit 56f758dbb7b5e0f70ee30d6bb4aa501a07263316)
This commit is contained in:
Tino Vazquez 2019-04-10 17:33:37 +02:00
parent b11c8a5566
commit 9148f904a5
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE

View File

@ -233,7 +233,7 @@ get '/support/check' do
end
if !http.nil? && http.response_code < 400
$conf[:opennebula_support_time] = Time.now.to_i
$conf[:one_support_time] = Time.now.to_i
[200, JSON.pretty_generate(:pass => true)]
else
[400, JSON.pretty_generate(:pass => false)]