Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
gsutil ls command fails as the endpoint is missing the trailing "/".
  • Loading branch information
brahma19 authored Oct 3, 2024
1 parent c8e2709 commit cdd3bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gslib/utils/shim_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def _get_gcs_json_endpoint_from_boto_config(config):
gs_json_port = config.get('Credentials', 'gs_json_port')
port = ':' + gs_json_port if gs_json_port else ''
json_api_version = config.get('Credentials', 'json_api_version', 'v1')
return 'https://{}{}/storage/{}'.format(gs_json_host, port,
return 'https://{}{}/storage/{}/'.format(gs_json_host, port,
json_api_version)
return None

Expand Down

0 comments on commit cdd3bc9

Please sign in to comment.