Skip to content

Commit

Permalink
Added mention of unsupported status to plugin_status check
Browse files Browse the repository at this point in the history
  • Loading branch information
jamtur01 committed Jan 21, 2013
1 parent 93bac45 commit 829961e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/extending/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ All plugins should require the Logstash module.

### Plugin name

Every plugin must have a name set with the `plugin_name` method. If this
Every plugin must have a name set with the `config_name` method. If this
is not specified plugins will fail to load with an error.

### Plugin status
Expand Down
2 changes: 1 addition & 1 deletion lib/logstash/config/mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def validate_plugin_status
when nil
raise "#{@config_name} must set a plugin_status. #{docmsg}"
else
raise "#{@config_name} set an invalid plugin status #{@plugin_status}. Valid values are experimental, beta and stable. #{docmsg}"
raise "#{@config_name} set an invalid plugin status #{@plugin_status}. Valid values are unsupported, experimental, beta and stable. #{docmsg}"
end
return true
end
Expand Down

0 comments on commit 829961e

Please sign in to comment.