Merge pull request #2347 from pini-gh/pini-2310

fix #2310
This commit is contained in:
Nicolas Duchon authored and GitHub committed 2023-12-19 20:08:31 +01:00
commit 478940420e
1 file changed
+1 -1
+1 -1
View File
@@ -75,7 +75,7 @@
{{- continue }}
{{- end }}
{{- range sortObjectsByKeysAsc $.globals.CurrentContainer.Networks "Name" }}
{{- if and . .Gateway }}
{{- if and . .Gateway (not .Internal) }}
# container is in host network mode, using {{ .Name }} gateway IP
{{- $ip = .Gateway }}
{{- break }}