Fix state loading for machine
This commit is contained in:
parent
2ce2494f79
commit
4b61b0be49
@ -128,7 +128,7 @@ module Vagrant
|
||||
end
|
||||
|
||||
def state
|
||||
s = @provider.state
|
||||
s = provider.state
|
||||
raise Errors::MachineStateInvalid if !s.is_a?(MachineState)
|
||||
client.set_machine_state(s) unless s.nil?
|
||||
return s
|
||||
@ -157,10 +157,6 @@ module Vagrant
|
||||
id
|
||||
end
|
||||
|
||||
def state
|
||||
client.machine_state
|
||||
end
|
||||
|
||||
def ssh_info
|
||||
# First, ask the provider for their information. If the provider
|
||||
# returns nil, then the machine is simply not ready for SSH, and
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user