diff --git a/src/mad/ruby/vmwarelib.rb b/src/mad/ruby/vmwarelib.rb index 217fa784c1..565cdf3d2d 100644 --- a/src/mad/ruby/vmwarelib.rb +++ b/src/mad/ruby/vmwarelib.rb @@ -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}"