wrong link for the config type :bytes documentation

Fixes #3041
This commit is contained in:
Pier-Hugues Pellerin 2015-04-17 12:12:39 -04:00 committed by Jordan Sissel
parent 6799918149
commit cf533c7c11

View file

@ -472,7 +472,7 @@ module LogStash::Config::Mixin
bytes = Integer(value.first) rescue nil
result = bytes || Filesize.from(value.first).to_i
rescue ArgumentError
return false, "Unparseable filesize: #{value.first}. possible units (KiB, MiB, ...) e.g. '10 KiB'. doc reference: http://www.elasticsearch.org/guide/en/logstash/current/_logstash_config_language.html#bytes"
return false, "Unparseable filesize: #{value.first}. possible units (KiB, MiB, ...) e.g. '10 KiB'. doc reference: http://www.elastic.co/guide/en/logstash/current/configuration.html#bytes"
end
else
return false, "Unknown validator symbol #{validator}"