Address review feedback
This commit is contained in:
parent
21d155f4af
commit
05b8ce8348
|
@ -437,7 +437,7 @@ func (c *ServerCommand) Run(args []string) int {
|
|||
}
|
||||
}
|
||||
|
||||
// Wait for dependant goroutines to complete
|
||||
// Wait for dependent goroutines to complete
|
||||
c.WaitGroup.Wait()
|
||||
return 0
|
||||
}
|
||||
|
|
|
@ -421,7 +421,7 @@ func (c *ConsulBackend) RunServiceDiscovery(shutdownTriggered *bool, waitGroup *
|
|||
return err
|
||||
}
|
||||
|
||||
// 'server' command will wait for the belog goroutine to complete
|
||||
// 'server' command will wait for the below goroutine to complete
|
||||
waitGroup.Add(1)
|
||||
|
||||
go c.runEventDemuxer(shutdownTriggered, waitGroup, shutdownCh, advertiseAddr, activeFunc, sealedFunc)
|
||||
|
|
Loading…
Reference in a new issue