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:
parent
8730b9f100
commit
952ba920bc
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user