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

Merge pull request #9958 from deadbeef404/patch-1

Corrected spelling mistake in ec2 inventory script
This commit is contained in:
Chris Church 2015-01-09 01:54:14 -05:00
commit 45f8e6f3b0

View file

@ -648,7 +648,7 @@ class Ec2Inventory(object):
# try updating the cache # try updating the cache
self.do_api_calls_update_cache() self.do_api_calls_update_cache()
if not self.args.host in self.index: if not self.args.host in self.index:
# host migh not exist anymore # host might not exist anymore
return self.json_format_dict({}, True) return self.json_format_dict({}, True)
(region, instance_id) = self.index[self.args.host] (region, instance_id) = self.index[self.args.host]