mirror of
https://github.com/umputun/reproxy.git
synced 2024-11-24 08:12:31 +02:00
fix comment typo
This commit is contained in:
parent
0a2047fc74
commit
5dcb303615
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user