mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
fix the case where a plugin is released and has a similar name to one still not released, fixing failured on the all plugins test
Fixes #3391
This commit is contained in:
parent
e2450f1f78
commit
11d2f7b3ed
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ module LogStash
|
|||
|
||||
def self.is_released?(plugin)
|
||||
require 'gems'
|
||||
!Gems.search(plugin).empty?
|
||||
!Gems.search(plugin).reject{ |h| h['name'] != plugin }.empty?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue