feat(common): Release common-3.0.4 (#294)

This commit is contained in:
Bernd Schorgers 2024-03-15 09:33:07 +01:00 committed by GitHub
parent 9541ab44fe
commit 23164367ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
89 changed files with 427 additions and 216 deletions

View file

@ -18,7 +18,9 @@ Return the primary port for a given Service object.
{{- /* Return the first port if none has been explicitly marked as primary */ -}}
{{- if not $result -}}
{{- $firstPortKey := keys $enabledPorts | first -}}
{{- $result = get $enabledPorts $firstPortKey -}}
{{- if $firstPortKey -}}
{{- $result = get $enabledPorts $firstPortKey -}}
{{- end -}}
{{- end -}}
{{- $result | toYaml -}}