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:
parent
b11c8a5566
commit
9148f904a5
@ -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)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user