6 lines
221 B
Plaintext
6 lines
221 B
Plaintext
|
{{ range $index, $instance := service "[[ .instance ]]-transport[[ .consul.suffix ]]" }}
|
||
|
{{- if not (eq (env "NOMAD_ALLOC_INDEX") (index $instance.ServiceMeta "alloc")) }}
|
||
|
{{ .Address }}:{{ .Port }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|