From 36e1af019aa4bc85ff0cafd828b9181d7865f29e Mon Sep 17 00:00:00 2001 From: Robert Gottlieb Date: Tue, 3 Dec 2024 12:53:25 -0500 Subject: [PATCH] more debug stuff --- ci/aws-iam-check-keys/find_stale_keys.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"]