Update internal drives state to be array instead of hash
This commit is contained in:
parent
abcc334900
commit
98a2d0f723
|
@ -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
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue