Require 'forwardable' in SafeURI

SafeURI requires forwardable, which is included elsewhere in logstash. Plugin tests using this validation don't load logstash in the right order for this to work, so we need an explicit require here.

Fixes #5978
This commit is contained in:
Andrew Cholakian 2016-09-29 09:18:23 +02:00
parent 2b2972f7b8
commit 07a4b82613

View file

@ -1,6 +1,7 @@
# encoding: utf-8 # encoding: utf-8
require "logstash/namespace" require "logstash/namespace"
require "logstash/util" require "logstash/util"
require "forwardable"
# This class exists to quietly wrap a password string so that, when printed or # This class exists to quietly wrap a password string so that, when printed or
# logged, you don't accidentally print the password itself. # logged, you don't accidentally print the password itself.