feat(common): Release v3.7.2 (#388)

Signed-off-by: solidDoWant <fred.heinecke@yahoo.com>
Co-authored-by: solidDoWant <fred.heinecke@yahoo.com>
This commit is contained in:
Bernd Schorgers 2025-03-04 16:55:24 +01:00 committed by GitHub
parent ed1fc273b2
commit 9efa8f0adb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 119 additions and 48 deletions

View file

@ -26,9 +26,9 @@ Return the primary service object for a controller
{{- $result = $service -}}
{{- end -}}
{{- /* Return the first Service if none has been explicitly marked as primary */ -}}
{{- /* Return the first Service (alphabetically) if none has been explicitly marked as primary */ -}}
{{- if not $result -}}
{{- $firstServiceKey := keys $enabledServicesForController | first -}}
{{- $firstServiceKey := keys $enabledServicesForController | sortAlpha | first -}}
{{- $result = get $enabledServicesForController $firstServiceKey -}}
{{- $identifier = $result.identifier -}}
{{- end -}}

View file

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