mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 21:27:10 +09:00
F #3167: Fix typo on Sunstone backend
Preventing the correct caching of the validate token
(cherry picked from commit 56f758dbb7)
This commit is contained in:
1 file changed
+1
-1
@@ -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)]
|
||||
|
||||
Reference in new issue
Block a user