From 0a68c421cb386cef234dc6e637d6d3c622ca06f0 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Wed, 18 Oct 2023 14:27:51 +0200 Subject: [PATCH] review comments --- charts/alfresco-common/templates/_helpers-activemq.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/alfresco-common/templates/_helpers-activemq.tpl b/charts/alfresco-common/templates/_helpers-activemq.tpl index 8ffe6840..5ce6b4da 100644 --- a/charts/alfresco-common/templates/_helpers-activemq.tpl +++ b/charts/alfresco-common/templates/_helpers-activemq.tpl @@ -1,10 +1,10 @@ {{/* Validate ActiveMQ has a failover transport URL -Usage: include "alfresco-common.activemq.url.valid" "URL" +Usage: include "alfresco-common.activemq.url.withFailover" "URL" */}} -{{- define "alfresco-common.activemq.url.valid" -}} +{{- define "alfresco-common.activemq.url.withFailover" -}} {{- if hasPrefix "failover:(" . }} {{- . }} {{- else -}} @@ -19,7 +19,7 @@ Usage: include "alfresco-common.activemq.cm" "URL" */}} {{- define "alfresco-common.activemq.cm" -}} - BROKER_URL: {{ template "alfresco-common.activemq.url.valid" . }} + BROKER_URL: {{ template "alfresco-common.activemq.url.withFailover" . }} {{- end -}} {{/*