Skip to content

Commit 3db4a13

Browse files
authored
node: fix lint issue in rpcstack.go (#25774)
1 parent 0ee8b27 commit 3db4a13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

node/rpcstack.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,15 +267,15 @@ func (h *httpServer) doStop() {
267267
h.wsHandler.Store((*rpcHandler)(nil))
268268
wsHandler.server.Stop()
269269
}
270-
270+
271271
ctx, cancel := context.WithTimeout(context.Background(), shutdownTimeout)
272272
defer cancel()
273273
err := h.server.Shutdown(ctx)
274274
if err != nil && err == ctx.Err() {
275275
h.log.Warn("HTTP server graceful shutdown timed out")
276276
h.server.Close()
277277
}
278-
278+
279279
h.listener.Close()
280280
h.log.Info("HTTP server stopped", "endpoint", h.listener.Addr())
281281

0 commit comments

Comments
 (0)