mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Merge branch 'feature-1020' of git.opennebula.org:one into feature-1020
This commit is contained in:
commit
497f0f2800
@ -132,13 +132,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