mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Only include Logstash plugins in list of plugins
When generating list of compatible plugins for documentation, we previously were accidentally include all gems, not just logstash plugins. Fixes #7521
This commit is contained in:
parent
fc26a1692f
commit
70fa6f2d57
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class PluginVersionWorking
|
|||
end
|
||||
|
||||
def extract_versions(definition, dependencies, from)
|
||||
definition.specs.each do |spec|
|
||||
definition.specs.select { |spec| spec.metadata && spec.metadata["logstash_plugin"] == "true" }.each do |spec|
|
||||
dependencies[spec.name] ||= []
|
||||
dependencies[spec.name] << VersionDependencies.new(spec.version, from)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue