Sha256: 919f1db1342a1d5ba515a946d79c9030d0494d825e4bd4f33971ee350c0364be
Contents?: true
Size: 569 Bytes
Versions: 1
Compression:
Stored size: 569 Bytes
Contents
# encoding: utf-8 require "logstash/errors" module LogStash module BootstrapCheck class DefaultConfig def self.check(settings) if settings.get("config.string").nil? && settings.get("path.config").nil? raise LogStash::BootstrapCheckError, I18n.t("logstash.runner.missing-configuration") end if settings.get("config.reload.automatic") && settings.get("path.config").nil? # there's nothing to reload raise LogStash::BootstrapCheckError, I18n.t("logstash.runner.reload-without-config-path") end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
logstash-core-6.0.0.alpha1-java | lib/logstash/bootstrap_check/default_config.rb |