From 5dcb30361578bf170f4da8134b2f527c1ca55b63 Mon Sep 17 00:00:00 2001 From: Umputun Date: Sat, 26 Jun 2021 12:12:47 -0500 Subject: [PATCH] fix comment typo --- app/discovery/provider/docker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/discovery/provider/docker.go b/app/discovery/provider/docker.go index 537d0f8..749e5d6 100644 --- a/app/discovery/provider/docker.go +++ b/app/discovery/provider/docker.go @@ -193,7 +193,7 @@ func (d *Docker) parseContainerInfo(c containerInfo) (res []discovery.URLMapper) } // matchedPort gets port for route match, default the first exposed port -// if reproxy.N.label found reruns this port only if it is one of exposed by the container +// if reproxy.N.port label found, returns this port but only if it is one of exposed by the container func (d *Docker) matchedPort(c containerInfo, n int) (port int, err error) { port = c.Ports[0] // by default use the first exposed port