Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Oct 18, 2023
1 parent ef07824 commit 0a68c42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/alfresco-common/templates/_helpers-activemq.tpl
Original file line number Diff line number Diff line change
@@ -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 -}}
Expand All @@ -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 -}}

{{/*
Expand Down

0 comments on commit 0a68c42

Please sign in to comment.