Skip to content

Commit d9f9aac

Browse files
committed
fix(metrics): add protocol back to bucket name
1 parent 51f9340 commit d9f9aac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fence/blueprints/data/indexd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def _log_signed_url_data_info(indexed_file, user_sub, requested_protocol):
186186

187187
if bucket_protocol == protocol:
188188
# Extract bucket name
189-
bucket = rest_of_url.split("/")[0]
189+
bucket = f"{bucket_protocol}://{rest_of_url.split('/')[0]}"
190190
break
191191

192192
logger.info(

0 commit comments

Comments
 (0)