bin/check-instance-events.rb in sensu-plugins-aws-1.2.0 vs bin/check-instance-events.rb in sensu-plugins-aws-2.0.0

- old
+ new

@@ -67,10 +67,10 @@ } end def run event_instances = [] - aws_config = {} + aws_config = {} if config[:use_iam_role].nil? aws_config.merge!( access_key_id: config[:aws_access_key], secret_access_key: config[:aws_secret_access_key]