Fix state loading for machine

This commit is contained in:
Chris Roberts 2022-06-21 14:42:14 -07:00
parent 2ce2494f79
commit 4b61b0be49

View File

@ -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