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()
select {
case <-sigs:
util.SIGUSR1Exit()
util.SIGTERMExit()
err := server.Shutdown(ctx)
if err != nil {
return errs.Wrap(err, "shutdown err")

Loading…
Cancel
Save