Don't include folder if it is disabled

This commit is contained in:
sophia 2021-12-10 16:36:28 -06:00 committed by Paul Hinze
parent 083fe5ea82
commit 2bd9c995e9
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -374,6 +374,7 @@ module Vagrant
folders = Vagrant::Plugin::V2::SyncedFolder::Collection.new
synced_folder_clients = client.synced_folders
synced_folder_clients.each do |f|
next if f[:folder][:disabled]
# TODO: get type of synced folder
impl = "virtualbox"
sf = Vagrant::Plugin::V2::SyncedFolder.new(f[:plugin])