Skip to content

Commit

Permalink
fixed err
Browse files Browse the repository at this point in the history
  • Loading branch information
kazeburo committed May 14, 2019
1 parent e31c942 commit 87a9bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsgate-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func main() {
logger.Info("Signal received. Start to shutdown")
ctx, cancel := context.WithTimeout(context.Background(), *shutdownTimeout)
if es := s.Shutdown(ctx); es != nil {
logger.Warn("Shutdown error", zap.Error(err))
logger.Warn("Shutdown error", zap.Error(es))
}
cancel()
close(idleConnsClosed)
Expand Down

0 comments on commit 87a9bb8

Please sign in to comment.