Code cleanup

This commit is contained in:
itkevin 2013-04-03 22:50:44 +02:00
parent fd8761177f
commit 430a6a8432

View file

@ -100,7 +100,7 @@ module Agents
options[:extract].keys.each do |name|
result[name] = output[name][index]
if name.to_s == 'url'
result[name] = URI.join( options[:url], result[name]).to_s if (result[name] =~ URI::DEFAULT_PARSER.regexp[:ABS_URI]).nil?
result[name] = URI.join(options[:url], result[name]).to_s if (result[name] =~ URI::DEFAULT_PARSER.regexp[:ABS_URI]).nil?
end
end