From ffd74049da595a2d12b081a9b4c4e039a233da8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20Schr=C3=B6der?= Date: Sun, 14 Jun 2015 23:24:51 +0200 Subject: [PATCH] Comments about the naming pattern in the script, that certainly deserves future refactoring --- plugins/inventory/ec2.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/inventory/ec2.py b/plugins/inventory/ec2.py index 9aec945472..4b205c0d95 100755 --- a/plugins/inventory/ec2.py +++ b/plugins/inventory/ec2.py @@ -1076,6 +1076,11 @@ class Ec2Inventory(object): of parameters. This method should be used only when 'describe' is used directly because Boto doesn't provide specific classes. ''' + # I really don't agree with prefixing everything with 'ec2' + # because EC2, RDS and ElastiCache are different services. + # I'm just following the pattern used until now to not break any + # compatibility. + host_info = {} for key in describe_dict: value = describe_dict[key]