mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
15f0de3487
commit
8d19b5f078
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ module LogStash
|
|||
def self.is_released?(plugin)
|
||||
require 'gems'
|
||||
Gems.info(plugin) != "This rubygem could not be found."
|
||||
rescue Gems::NotFound => e
|
||||
puts "Could not find gem #{plugin}"
|
||||
false
|
||||
end
|
||||
|
||||
def self.fetch_plugins_for(type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue