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:
parent
f4fa0dcee8
commit
8f3442a5e4
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user