Update internal drives state to be array instead of hash

This commit is contained in:
Brian Cain 2019-10-18 09:10:26 -07:00
parent abcc334900
commit 98a2d0f723
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ module VagrantPlugins
@__compiled_provider_configs = {} @__compiled_provider_configs = {}
@__defined_vm_keys = [] @__defined_vm_keys = []
@__defined_vms = {} @__defined_vms = {}
@__drives = {} @__drives = []
@__finalized = false @__finalized = false
@__networks = {} @__networks = {}
@__providers = {} @__providers = {}
@ -400,7 +400,7 @@ module VagrantPlugins
block.call(disk, VagrantConfigDisk) block.call(disk, VagrantConfigDisk)
end end
@__drives[disk[:id]] = disk @__drives << disk
end end
#------------------------------------------------------------------- #-------------------------------------------------------------------