Skip to content

Commit

Permalink
fix config_name for generated input plugin
Browse files Browse the repository at this point in the history
Fixes #5355
  • Loading branch information
wiibaa authored and suyograo committed May 24, 2016
1 parent cd30aa9 commit f2cf643
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require "socket" # for Socket.gethostname
# This plugin is intented only as an example.

class LogStash::Inputs::<%= classify(plugin_name) %> < LogStash::Inputs::Base
config_name "<%= @lugin_name %>"
config_name "<%= @plugin_name %>"

# If undefined, Logstash will complain, even if codec is unused.
default :codec, "plain"
Expand Down

0 comments on commit f2cf643

Please sign in to comment.