Return a static priority w/ synced folders in remote manager

Callers expect the manager to return both the class and an integer
priority... so we get a bare minimum working by returning something
reasonable.
This commit is contained in:
Paul Hinze 2022-02-10 15:21:56 -06:00
parent 8730b9f100
commit 952ba920bc
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -81,8 +81,10 @@ module Vagrant
sf_class = Class.new(V2::SyncedFolder, &WRAPPER_CLASS)
sf_class.plugin_name = plg[:name]
sf_class.type = plg[:type]
# TODO: how to keep priority?
priority = 10
result.register(plg[:name].to_sym) do
sf_class
[sf_class, priority]
end
end
end