mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Fix nil vs false values for defaults
This commit is contained in:
parent
c183438f8e
commit
2e459d550a
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ This is what it might look like in your config file:
|
|||
<% elsif config[:validate].is_a?(Array) -%>
|
||||
<li> Value can be any of: <%= config[:validate].map(&:inspect).join(", ") %> </li>
|
||||
<% end -%>
|
||||
<% if config[:default] -%>
|
||||
<% if config[:default].nil? -%>
|
||||
<li> Default value is <%= config[:default].inspect %> </li>
|
||||
<% else -%>
|
||||
<li> There is no default value for this setting. </li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue