diff --git a/gslib/utils/shim_util.py b/gslib/utils/shim_util.py index c8b3c77db..aaad290ea 100644 --- a/gslib/utils/shim_util.py +++ b/gslib/utils/shim_util.py @@ -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