diff --git a/lemur/plugins/lemur_aws/iam.py b/lemur/plugins/lemur_aws/iam.py index 9a4408ff..680e64c0 100644 --- a/lemur/plugins/lemur_aws/iam.py +++ b/lemur/plugins/lemur_aws/iam.py @@ -24,9 +24,6 @@ def retry_throttled(exception): if exception.response['Error']['Code'] == 'NoSuchEntity': return False - if isinstance(exception, botocore.errorfactory.NoSuchEntityException): - return False - metrics.send('iam_retry', 'counter', 1) return True