linting: catch some errors

This commit is contained in:
Zach Ramsay
2017-09-21 15:32:06 -04:00
committed by Ethan Buchman
parent 6a378d30f3
commit 36e96c5bf1
5 changed files with 13 additions and 5 deletions

View File

@ -41,7 +41,9 @@ func dialerFunc(addr string, timeout time.Duration) (net.Conn, error) {
}
func (cli *grpcClient) OnStart() error {
cli.BaseService.OnStart()
if err := cli.BaseService.OnStart(); err != nil {
return err
}
RETRY_LOOP:
for {