Skip to content

Commit 8727ce9

Browse files
committed
workaround for dn with commas
1 parent 9b48aa4 commit 8727ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

microservices/gatewayApi/patterns/sdx/service_r1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def eval_service_pattern (context):
131131
# if mtls_allow_list has commas, then create two quoted values - one
132132
# with a ", " and the other with just a ","
133133
if "," in mtls_allow_list:
134-
mtls_allow_list = f'"{mtls_allow_list.replace(",", ", ")}", "{mtls_allow_list}"'
134+
mtls_allow_list = f'"{mtls_allow_list.replace(", ", ",")}", "{mtls_allow_list}"'
135135
else:
136136
mtls_allow_list = f'"{mtls_allow_list}"'
137137
context["mtls_allow_list"] = mtls_allow_list

0 commit comments

Comments
 (0)