[cloud] RDS config should be getboolean, as per ec2.ini instructions (#31168)

pull/31220/head
Avner Cohen 7 years ago committed by Ryan Brown
parent a7229df469
commit d313c2d5e9

@ -354,7 +354,7 @@ class Ec2Inventory(object):
self.route53_excluded_zones = [a for a in config.get('ec2', 'route53_excluded_zones').split(',') if a] self.route53_excluded_zones = [a for a in config.get('ec2', 'route53_excluded_zones').split(',') if a]
# Include RDS instances? # Include RDS instances?
self.rds_enabled = config.get('ec2', 'rds') self.rds_enabled = config.getboolean('ec2', 'rds')
# Include RDS cluster instances? # Include RDS cluster instances?
self.include_rds_clusters = config.getboolean('ec2', 'include_rds_clusters') self.include_rds_clusters = config.getboolean('ec2', 'include_rds_clusters')

Loading…
Cancel
Save