Skip to content

Commit fbad681

Browse files
Update orthanc service name reference to use dynamic namespace
1 parent aeda10a commit fbad681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MAIA/kubernetes_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ def get_namespace_details(settings, id_token, namespace, user_id, is_admin=False
553553
maia_workspace_apps['hub'] = "https://" + rule['host'] + path['path']
554554
if path['backend']['service']['name'] == 'maia-xnat':
555555
maia_workspace_apps['xnat'] = "https://" + rule['host'] + path['path']
556-
if path['backend']['service']['name'] == "orthanc-svc":
556+
if path['backend']['service']['name'] == namespace+"-orthanc-svc":
557557

558558
maia_workspace_apps['orthanc'] = "https://" + rule['host'] + path['path']
559559
maia_workspace_apps['ohif'] = "https://" + rule['host'] + path['path'] + "/ohif/"

0 commit comments

Comments
 (0)