logstash/logstash — pull request #946 by adamjt (2014-01-16 22:40:31+00:00)
Title: Remove dependency on presence of region field.

The region field for the S3 input is deprecated in favor of region_endpoint, however logstash will fail calling .empty? on nil if the field is not present. This simply checks that @region is not nil before checking if it is empty.