diff --git a/discovery/dockerswarm/docker.go b/discovery/dockerswarm/docker.go index 82f147213..04d0b2869 100644 --- a/discovery/dockerswarm/docker.go +++ b/discovery/dockerswarm/docker.go @@ -234,7 +234,7 @@ func (d *DockerDiscovery) refresh(ctx context.Context) ([]*targetgroup.Group, er if !added { // Use fallback port when no exposed ports are available or if all are non-TCP labels := model.LabelSet{ - dockerLabelNetworkIP: model.LabelValue(n.IPAddress), + dockerLabelNetworkIP: model.LabelValue(n.IPAddress), } for k, v := range commonLabels {