From d9f9aac95e2c46d42916461986d9d438dfdcdc91 Mon Sep 17 00:00:00 2001 From: Alex VanTol Date: Fri, 1 Dec 2023 15:07:05 -0600 Subject: [PATCH] fix(metrics): add protocol back to bucket name --- fence/blueprints/data/indexd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fence/blueprints/data/indexd.py b/fence/blueprints/data/indexd.py index 253a1ad64..00bf8436d 100755 --- a/fence/blueprints/data/indexd.py +++ b/fence/blueprints/data/indexd.py @@ -186,7 +186,7 @@ def _log_signed_url_data_info(indexed_file, user_sub, requested_protocol): if bucket_protocol == protocol: # Extract bucket name - bucket = rest_of_url.split("/")[0] + bucket = f"{bucket_protocol}://{rest_of_url.split('/')[0]}" break logger.info(