mirror of
https://github.com/traefik/traefik.git
synced 2025-11-28 22:21:36 +01:00
Changed Docker network filter to allow any swarm network
This commit is contained in:
parent
8cb3f0835a
commit
8af39bdaf7
@ -825,7 +825,7 @@ func (p *Provider) listServices(ctx context.Context, dockerClient client.APIClie
|
||||
return []dockerData{}, err
|
||||
}
|
||||
networkListArgs := filters.NewArgs()
|
||||
networkListArgs.Add("driver", "overlay")
|
||||
networkListArgs.Add("scope", "swarm")
|
||||
|
||||
networkList, err := dockerClient.NetworkList(ctx, dockertypes.NetworkListOptions{Filters: networkListArgs})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user