Skip to content

Commit 499df1a

Browse files
ndeloofglours
authored andcommitted
service with provider does not imply default network
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent a0d3b94 commit 499df1a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

loader/normalize.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ func normalizeNetworks(dict map[string]any) {
158158
services := s.(map[string]any)
159159
for name, se := range services {
160160
service := se.(map[string]any)
161+
if _, ok := service["provider"]; ok {
162+
continue
163+
}
161164
if _, ok := service["network_mode"]; ok {
162165
continue
163166
}

0 commit comments

Comments
 (0)