Skip to content

Commit

Permalink
fix(metrics): add protocol back to bucket name
Browse files Browse the repository at this point in the history
  • Loading branch information
Avantol13 committed Dec 1, 2023
1 parent 51f9340 commit d9f9aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fence/blueprints/data/indexd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d9f9aac

Please sign in to comment.