fix go vet in end2end test

This commit is contained in:
Menghan Li
2017-02-21 17:06:08 -08:00
parent 467c1fdc83
commit 3d39290839

View File

@ -496,7 +496,7 @@ func (te *test) startServer(ts testpb.TestServiceServer) {
la := "localhost:0" la := "localhost:0"
switch te.e.network { switch te.e.network {
case "unix": case "unix":
la = "/tmp/testsock" + fmt.Sprintf("%d", time.Now()) la = "/tmp/testsock" + fmt.Sprintf("%d", time.Now().UnixNano())
syscall.Unlink(la) syscall.Unlink(la)
} }
lis, err := net.Listen(te.e.network, la) lis, err := net.Listen(te.e.network, la)