From 3078c5d9f65bf7c8e79285d565a23304931469e8 Mon Sep 17 00:00:00 2001 From: Davi Frossard Date: Fri, 8 Mar 2024 17:39:58 -0300 Subject: [PATCH] Remove "/v3" duplicate from OS_AUTH_URL The filter "align_auth_url" is appending an extra (and hardcoded) "/v3". This is causing wrong url for region == 'SystemController' at starlingx-openrc.sh Closes-Bug: 2056782 Change-Id: Ifb3c537e87573b7c710b8d94cd28ae232a14d2c9 Signed-off-by: Davi Frossard --- .../starlingx_dashboard/templatetags/align_auth_url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/templatetags/align_auth_url.py b/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/templatetags/align_auth_url.py index 079f3f42..4c68d27c 100644 --- a/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/templatetags/align_auth_url.py +++ b/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/templatetags/align_auth_url.py @@ -12,5 +12,5 @@ register = template.Library() @register.filter(name="align_auth_url") def align_auth_url(url): url_list = url.split(':') - url_list[-1] = '5000/v3' + url_list[-1] = '5000' return ':'.join(url_list)