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

Feature #1020: Fix bug for VM poll

This commit is contained in:
Ruben S.Montero 2011-12-24 00:35:08 +01:00
parent f4fa0dcee8
commit 8f3442a5e4

View File

@ -127,13 +127,13 @@ class VMwareDriver
case state
when "running","blocked","shutdown","dying"
state = 'a'
state_short = 'a'
when "paused"
state = 'p'
state_short = 'p'
when "crashed"
state = 'c'
state_short = 'c'
else
state = 'd'
state_short = 'd'
end
return "STATE=#{state_short}"