Simplify builtin disk action

This commit is contained in:
Brian Cain 2019-10-31 14:46:16 -07:00
parent e598007237
commit 83fea21ff1
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
2 changed files with 2 additions and 8 deletions

View File

@ -11,10 +11,7 @@ module Vagrant
machine = env[:machine]
defined_disks = get_disks(machine, env)
# Check that provider plugin is installed for disk
# If not, log warning or error to user that disks won't be managed
# TODO: configure and attach disks for the machines providers implementation
# Call into providers machine implementation for disk management
# Continue On
@app.call(env)
@ -24,9 +21,7 @@ module Vagrant
return @_disks if @_disks
@_disks = []
@_disks = machine.config.vm.disks.map do |disk|
# initialize the disk provider??
end
@_disks = machine.config.vm.disks
@_disks
end

View File

@ -39,7 +39,6 @@ module VagrantPlugins
# @return [String]
attr_accessor :file
# Determines if this disk is the _main_ disk, or an attachment.
# Defaults to true.
#