mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-25 23:21:29 +03:00
Feature #2917: Use RUNNING = YES instead of RUNNING = TRUE to report running status
This commit is contained in:
parent
b9cf312529
commit
4612c24603
@ -208,7 +208,7 @@ module OpenNebula
|
||||
running = vm_state == '3' && lcm_state >= '3'
|
||||
|
||||
if running && @service.running_status_gate
|
||||
running = node['vm_info']['VM']['USER_TEMPLATE']['RUNNING'] == "TRUE"
|
||||
running = node['vm_info']['VM']['USER_TEMPLATE']['RUNNING'].upcase == "YES"
|
||||
end
|
||||
|
||||
node['running'] = running
|
||||
|
Loading…
Reference in New Issue
Block a user