forked from Ivasoft/traefik
Changed Docker network filter to allow any swarm network
This commit is contained in:
committed by
Traefiker
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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user