This commit is contained in:
Stavros kois
2023-12-08 18:37:17 +02:00
parent ba4019258c
commit 9b06ea0f0e
2 changed files with 2 additions and 2 deletions

View File

@@ -725,7 +725,7 @@ tests:
my-other-service:
enabled: true
ports:
my-port:
my-port1:
enabled: true
port: 123457
my-port2:

View File

@@ -132,7 +132,7 @@
{{- end -}}
{{- if not $selectedPort -}}
{{- $portName := ($selectedService.ports | keys | mustFirst) -}}
{{- $portName := ($selectedService.ports | keys | sortAlpha | mustFirst) -}}
{{- $selectedPort = (get $selectedService.ports $portName) -}}
{{- end -}}