1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Comments about the naming pattern in the script, that certainly deserves future refactoring

This commit is contained in:
Victor Schröder 2015-06-14 23:24:51 +02:00
parent f25ad9dc51
commit ffd74049da

View file

@ -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]