Skip to content

Commit

Permalink
Merge pull request #10583 from johncming/correct_err
Browse files Browse the repository at this point in the history
etcdmain: use same error.
  • Loading branch information
spzala authored Mar 26, 2019
2 parents 56f1bce + 11272ed commit 9c2b88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcdmain/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func startEtcdOrProxyV2() {
case lerr := <-errc:
// fatal out on listener errors
if lg != nil {
lg.Fatal("listener failed", zap.Error(err))
lg.Fatal("listener failed", zap.Error(lerr))
} else {
plog.Fatal(lerr)
}
Expand Down

0 comments on commit 9c2b88d

Please sign in to comment.