mirror of
https://github.com/slackhq/nebula.git
synced 2025-12-05 18:20:48 -08:00
Run make vet in CI (#693)
This commit is contained in:
parent
e1af37e46d
commit
5da79e2a4c
3 changed files with 32 additions and 26 deletions
|
|
@ -74,7 +74,7 @@ func (c *Control) Stop() {
|
|||
|
||||
// ShutdownBlock will listen for and block on term and interrupt signals, calling Control.Stop() once signalled
|
||||
func (c *Control) ShutdownBlock() {
|
||||
sigChan := make(chan os.Signal)
|
||||
sigChan := make(chan os.Signal, 1)
|
||||
signal.Notify(sigChan, syscall.SIGTERM)
|
||||
signal.Notify(sigChan, syscall.SIGINT)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue