mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Fix method calls when building entry and setting ID
This commit is contained in:
parent
9fb979d44c
commit
34ecea07bc
1 changed files with 3 additions and 3 deletions
|
|
@ -7,8 +7,8 @@ module Vagrant
|
|||
name: machine.name,
|
||||
local_data_path: machine.project.local_data_path,
|
||||
provider: machine.provider_name,
|
||||
full_state: machine.state,
|
||||
state: machine.state.id,
|
||||
full_state: machine.machine_state,
|
||||
state: machine.machine_state.id,
|
||||
vagrantfile_name: machine.project.vagrantfile_name,
|
||||
vagrantfile_path: machine.project.vagrantfile_path,
|
||||
})
|
||||
|
|
@ -86,7 +86,7 @@ module Vagrant
|
|||
def each(reload=true, &block)
|
||||
if reload
|
||||
client.all.each do |m|
|
||||
@machines[m.uuid] = m
|
||||
@machines[m.id] = m
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue