Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
Kévin Masseix committed Jul 16, 2021
1 parent f585e00 commit 874843e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugins/modules/elasticache_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,12 +416,12 @@ def describe_cache_clusters_with_backoff(client, cluster_id=None):

@AWSRetry.exponential_backoff()
def describe_replication_group_with_backoff(client, replication_group_id):
try:
response = client.describe_replication_groups(ReplicationGroupId=replication_group_id)
except is_boto3_error_code('ReplicationGroupNotFoundFault'):
return None
try:
response = client.describe_replication_groups(ReplicationGroupId=replication_group_id)
except is_boto3_error_code('ReplicationGroupNotFoundFault'):
return None

return response['ReplicationGroups'][0]
return response['ReplicationGroups'][0]

@AWSRetry.exponential_backoff()
def get_elasticache_tags_with_backoff(client, cluster_id):
Expand Down

0 comments on commit 874843e

Please sign in to comment.