fix: del the undifined func

pull/1987/head
luhaoling 2 years ago
parent 77abadde37
commit 5a1c0aca3c

@ -120,7 +120,7 @@ func Start(config *config.GlobalConfig, port int, proPort int) error {
defer cancel() defer cancel()
select { select {
case <-sigs: case <-sigs:
util.SIGUSR1Exit() util.SIGTERMExit()
err := server.Shutdown(ctx) err := server.Shutdown(ctx)
if err != nil { if err != nil {
return errs.Wrap(err, "shutdown err") return errs.Wrap(err, "shutdown err")

Loading…
Cancel
Save