randywallace/zabbix-cloudwatch — pull request #2 by paulruiz (2014-05-08 21:36:04+00:00)
Title: method get_aws_options always returns region set to us-east-1

Lack of parentheses in " if options.key?"aws-region" && options['aws-region'] != '' " caused it to always fall through to the else and set region to use-east-1. Pull request adds parens. Tested failure and success on 1.8.7 and 2.0.