Merge pull request #9958 from deadbeef404/patch-1

Corrected spelling mistake in ec2 inventory script
pull/9968/head
Chris Church 10 years ago
commit 45f8e6f3b0

@ -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…
Cancel
Save