portmapper: change userlandProxyCommandName to a const
it's not overridden anywhere, so may as well be a const Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
f6be7f2945
commit
ac8c80d6f1
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
"time"
|
||||
)
|
||||
|
||||
var userlandProxyCommandName = "docker-proxy"
|
||||
const userlandProxyCommandName = "docker-proxy"
|
||||
|
||||
func newProxyCommand(proto string, hostIP net.IP, hostPort int, containerIP net.IP, containerPort int, proxyPath string) (userlandProxy, error) {
|
||||
path := proxyPath
|
||||
|
|
Loading…
Add table
Reference in a new issue