gofmt
This commit is contained in:
1 parent
551c1d2925
commit
7d51f8751b
2 files changed
+7
-7
No files matched your search
+1
-1
@@ -203,7 +203,7 @@ func handleHTTP(router *weave.Router, httpAddr string) {
|
||||
|
||||
protocol := "tcp"
|
||||
if strings.HasPrefix(httpAddr, "/") {
|
||||
os.Remove(httpAddr); // in case it's there from last time
|
||||
os.Remove(httpAddr) // in case it's there from last time
|
||||
protocol = "unix"
|
||||
}
|
||||
l, err := net.Listen(protocol, httpAddr)
|
||||
|
||||
Reference in new issue
Block a user