Collect push_configs in the Plugin Manager
This commit is contained in:
parent
413565f961
commit
e5b10aa86b
|
@ -183,6 +183,17 @@ module Vagrant
|
|||
end
|
||||
end
|
||||
|
||||
# This returns all the config classes for the various pushes.
|
||||
#
|
||||
# @return [Registry]
|
||||
def push_configs
|
||||
Registry.new.tap do |result|
|
||||
@registered.each do |plugin|
|
||||
result.merge!(plugin.components.configs[:push])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# This returns all synced folder implementations.
|
||||
#
|
||||
# @return [Registry]
|
||||
|
|
Loading…
Reference in New Issue