From f2d22c1373fe80b19a18a0e91eec7e892a4788da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20Schr=C3=B6der?= Date: Mon, 15 Jun 2015 10:02:54 +0200 Subject: [PATCH] Fixes error messages to mention ElastiCache --- plugins/inventory/ec2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/inventory/ec2.py b/plugins/inventory/ec2.py index 2c6066fc6a..3f0b950986 100755 --- a/plugins/inventory/ec2.py +++ b/plugins/inventory/ec2.py @@ -447,7 +447,7 @@ class Ec2Inventory(object): if e.error_code == 'AuthFailure': error = self.get_auth_error_message() if not e.reason == "Forbidden": - error = "Looks like AWS RDS is down:\n%s" % e.message + error = "Looks like AWS ElastiCache is down:\n%s" % e.message self.fail_with_error(error) try: @@ -481,7 +481,7 @@ class Ec2Inventory(object): if e.error_code == 'AuthFailure': error = self.get_auth_error_message() if not e.reason == "Forbidden": - error = "Looks like AWS RDS is down:\n%s" % e.message + error = "Looks like AWS ElastiCache [Replication Groups] is down:\n%s" % e.message self.fail_with_error(error) try: @@ -491,7 +491,7 @@ class Ec2Inventory(object): replication_groups = response['DescribeReplicationGroupsResponse']['DescribeReplicationGroupsResult']['ReplicationGroups'] except KeyError as e: - error = "ElastiCache query to AWS failed (unexpected format)." + error = "ElastiCache [Replication Groups] query to AWS failed (unexpected format)." self.fail_with_error(error) for replication_group in replication_groups: