Removed dup signal (#14922)

This commit is contained in:
Rodrigo Villablanca
2020-06-27 03:33:36 -04:00
committed by GitHub
parent 4c33b7a35d
commit 48ed86ddc7

View File

@@ -92,7 +92,7 @@ func runServer(configStore config.Store, disableConfigWatch bool, usedPlatform b
// wait for kill signal before attempting to gracefully shutdown
// the running service
signal.Notify(interruptChan, os.Interrupt, syscall.SIGINT, syscall.SIGTERM)
signal.Notify(interruptChan, syscall.SIGINT, syscall.SIGTERM)
<-interruptChan
return nil