Address review feedback

This commit is contained in:
vishalnayak 2016-08-01 11:15:25 -04:00
parent 21d155f4af
commit 05b8ce8348
2 changed files with 2 additions and 2 deletions

View file

@ -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
}

View file

@ -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)