diff --git a/ci/aws-iam-check-keys/find_stale_keys.py b/ci/aws-iam-check-keys/find_stale_keys.py index 59a09cd..fb009eb 100644 --- a/ci/aws-iam-check-keys/find_stale_keys.py +++ b/ci/aws-iam-check-keys/find_stale_keys.py @@ -303,9 +303,9 @@ def send_key(key_dict: dict, severity: str): Send the key(s) to the pushgateway client to let it determine if they are stale """ - gateway_test = f"{env.str('GATEWAY_HOST')}:9091" - print(gateway_test) - gateway = f"{env.str('GATEWAY_HOST')}:{env.int('GATEWAY_PORT', 9091)}" + gateway = f"{env.str('GATEWAY_HOST')}:9091" + #print(gateway_test) + #gateway = f"{env.str('GATEWAY_HOST')}:{env.int('GATEWAY_PORT', 9091)}" print(gateway) registry = CollectorRegistry() days_since_rotation = key_dict["days_since_rotation"]