Sha256: 3350b3d14ebcae404e17f878ee23dc2747b16a41f090917d7ae29910c9a466a8

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

# encoding: utf-8
require "logstash/errors"

module LogStash module BootstrapCheck
  class DefaultConfig
    def self.check(settings)
      # currently none of the checks applies if there are multiple pipelines
      if settings.get("config.reload.automatic") && settings.get_setting("config.string").set?
        raise LogStash::BootstrapCheckError, I18n.t("logstash.runner.reload-with-config-string")
      end
    end
  end
end end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstash-core-6.0.0.alpha2-java lib/logstash/bootstrap_check/default_config.rb