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:
commit
45f8e6f3b0
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue