lib/logstash/inputs/exec.rb in logstash-input-exec-3.3.1 vs lib/logstash/inputs/exec.rb in logstash-input-exec-3.3.2

- old
+ new

@@ -34,10 +34,10 @@ @logger.info("Registering Exec Input", :type => @type, :command => @command, :interval => @interval, :schedule => @schedule) @hostname = Socket.gethostname @io = nil if (@interval.nil? && @schedule.nil?) || (@interval && @schedule) - raise LogStash::ConfigurationError, "jdbc input: either 'interval' or 'schedule' option must be defined." + raise LogStash::ConfigurationError, "exec input: either 'interval' or 'schedule' option must be defined." end end # def register def run(queue) if @schedule