Skip to content

Commit

Permalink
fixing dics
Browse files Browse the repository at this point in the history
  • Loading branch information
garciagenrique committed Oct 8, 2024
1 parent 5c9bc5f commit 2bd3c40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vre-singleuser-dev/configure-vre.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def write_jupyterlab_config():
"rucio_auth_url": os.getenv('ATLAS_RUCIO_AUTH_URL', 'https://atlas-rucio-auth.cern.ch:443'),
"rucio_webui_url": os.getenv('ATLAS_RUCIO_WEBUI_URL', 'https://rucio-ui.cern.ch'),
"rucio_ca_cert": os.getenv('RUCIO_CA_CERT'),
"site_name": os.getenv('ATLAS_RUCIO_SITE_NAME'),
"site_name": os.getenv('ATLAS_RUCIO_SITE_NAME', ''),
"vo": os.getenv('ATLAS_RUCIO_VO', 'atlas'),
"voms_enabled": os.getenv('ATLAS_RUCIO_VOMS_ENABLED', '0') == '1',
"voms_vomses_path": os.getenv('ATLAS_RUCIO_VOMS_VOMSES_PATH'),
Expand All @@ -75,6 +75,9 @@ def write_jupyterlab_config():
escape_config = {k: v for k,
v in escape_config.items() if v is not None}

atlas_config = {k: v for k,
v in atlas_config.items() if v is not None}


config_json['RucioConfig'] = {
'instances': [escape_config, atlas_config],
Expand Down

0 comments on commit 2bd3c40

Please sign in to comment.