From 34ecea07bc008de67d5ade34c223995f90d38131 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 16 Aug 2021 11:50:02 -0700 Subject: [PATCH] Fix method calls when building entry and setting ID --- lib/vagrant/machine_index/remote.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/vagrant/machine_index/remote.rb b/lib/vagrant/machine_index/remote.rb index 47bcb4733..1b2cb6a93 100644 --- a/lib/vagrant/machine_index/remote.rb +++ b/lib/vagrant/machine_index/remote.rb @@ -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