needed for go 1.0.x
This commit is contained in:
parent
d710f745bd
commit
249c1519e3
1
grace.go
1
grace.go
@ -141,6 +141,7 @@ func (l *listener) Accept() (net.Conn, error) {
|
|||||||
counter: l.counter,
|
counter: l.counter,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
panic("not reached")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Wait for signals to gracefully terminate or restart the process.
|
// Wait for signals to gracefully terminate or restart the process.
|
||||||
|
Loading…
Reference in New Issue
Block a user