mirror of
https://github.com/hashicorp/vault.git
synced 2025-12-15 22:41:50 +01:00
Address review feedback
This commit is contained in:
parent
b0ee8869fc
commit
577cd9de35
@ -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…
x
Reference in New Issue
Block a user