From d313c2d5e9011394975756d6f7347de85b31cdcd Mon Sep 17 00:00:00 2001 From: Avner Cohen Date: Mon, 2 Oct 2017 22:08:31 +0300 Subject: [PATCH] [cloud] RDS config should be getboolean, as per ec2.ini instructions (#31168) --- contrib/inventory/ec2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/inventory/ec2.py b/contrib/inventory/ec2.py index 41ab56190f..4d3474cffe 100755 --- a/contrib/inventory/ec2.py +++ b/contrib/inventory/ec2.py @@ -354,7 +354,7 @@ class Ec2Inventory(object): self.route53_excluded_zones = [a for a in config.get('ec2', 'route53_excluded_zones').split(',') if a] # Include RDS instances? - self.rds_enabled = config.get('ec2', 'rds') + self.rds_enabled = config.getboolean('ec2', 'rds') # Include RDS cluster instances? self.include_rds_clusters = config.getboolean('ec2', 'include_rds_clusters')