This commit is contained in:
David Wragg committed 2015-04-10 20:55:27 +01:00
1 parent 551c1d2925
commit 7d51f8751b
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -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)