You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Investigation:
I've been found similar issues when region is not set, so I checked. In main binary that's ok eu-central-1, but when you going lower, to get_aws_options function, there is if with && which gives you on p options.key?"aws-region" && options['aws-region'] != '' - false. I can't understand why it's possible.
Solution:
I've changed && to and and everything works. In this statement there is no difference between && and and so it's ok.
The text was updated successfully, but these errors were encountered:
After hours of debug I found some issue.
Environment:
Ruby 2.0.0p645
Amazon Linux AMI release 2015.03
zabbix-cloudwatch 0.1.0
Problem:
Always empty response with right request.
gives me nothing, just empty datapoint array.
Investigation:
I've been found similar issues when region is not set, so I checked. In main binary that's ok
eu-central-1
, but when you going lower, toget_aws_options
function, there isif
with&&
which gives you onp options.key?"aws-region" && options['aws-region'] != ''
-false
. I can't understand why it's possible.Solution:
I've changed
&&
toand
and everything works. In this statement there is no difference between&&
andand
so it's ok.The text was updated successfully, but these errors were encountered: