Skip to content

Commit cbf44f4

Browse files
fix bug in choosing the NoopLicenseChecker (logstash-plugins#984)
* fix bug in choosing the NoopLicenseChecker * bump version to 10.8.1
1 parent b1ff5a2 commit cbf44f4

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 10.8.1
2+
- Fixed an issue when assigning the no-op license checker [#984](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/984)
3+
14
## 10.8.0
25
- Refactored configuration options into specific and shared in PluginMixins namespace [#973](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/973)
36
- Refactored common methods into specific and shared in PluginMixins namespace [#976](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/976)

lib/logstash/outputs/elasticsearch/http_client/pool.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def initialize(logger, adapter, initial_urls=[], options={})
7070
@url_info = {}
7171
@stopping = false
7272

73-
@license_checker = options.fetch(:license_checker) { LogStash::PluginMixins::ElasticSearch::NoopLicenseChecker::INSTANCE }
73+
@license_checker = options[:license_checker] || LogStash::PluginMixins::ElasticSearch::NoopLicenseChecker::INSTANCE
7474
end
7575

7676
def start

logstash-output-elasticsearch.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = 'logstash-output-elasticsearch'
3-
s.version = '10.8.0'
3+
s.version = '10.8.1'
44

55
s.licenses = ['apache-2.0']
66
s.summary = "Stores logs in Elasticsearch"

0 commit comments

Comments
 (0)