1
0
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:
Jaime Melis 2014-07-11 12:04:34 +02:00
parent b9cf312529
commit 4612c24603

View File

@ -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