Use has with indifferent access when loading entry
This commit is contained in:
parent
61bb2328f3
commit
7a1aba1cb9
@ -3,7 +3,7 @@ module Vagrant
|
||||
class Entry
|
||||
module Remote
|
||||
def load(machine)
|
||||
self.new(machine.id, {
|
||||
raw = Vagrant::Util::HashWithIndifferentAccess.new({
|
||||
name: machine.name,
|
||||
local_data_path: machine.project.local_data_path,
|
||||
provider: machine.provider_name,
|
||||
@ -12,6 +12,7 @@ module Vagrant
|
||||
vagrantfile_name: machine.project.vagrantfile_name,
|
||||
vagrantfile_path: machine.project.vagrantfile_path,
|
||||
})
|
||||
self.new(machine.get_uuid, raw)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user