Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2016-10-21 15:35:10 +01:00
parent 1364922c81
commit 3208cca326
4 changed files with 27 additions and 28 deletions

View File

@@ -12,7 +12,6 @@ import (
var interactiveMode bool
// sendError signals the error to the parent and quits the process.
func sendError(err error) {
if interactiveMode {
@@ -72,7 +71,7 @@ func parseHostContainerAddrs() (host net.Addr, port int, container net.Addr, loc
default:
log.Fatalf("unsupported protocol %s", *proto)
}
localIP = ! *noLocalIP
localIP = !*noLocalIP
return host, port, container, localIP
}