mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Use has with indifferent access when loading entry
This commit is contained in:
parent
61bb2328f3
commit
7a1aba1cb9
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue