Skip to content

Commit 9c464b3

Browse files
committed
fix linter
1 parent 9d56658 commit 9c464b3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

internal/router/connections_state.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ type connectionsState struct {
1919
rand xrand.Rand
2020
}
2121

22-
func newConnectionsState(conns []conn.Conn, preferFunc routerconfig.PreferConnFunc, allowFallback bool) *connectionsState {
22+
func newConnectionsState(
23+
conns []conn.Conn,
24+
preferFunc routerconfig.PreferConnFunc,
25+
allowFallback bool,
26+
) *connectionsState {
2327
res := &connectionsState{
2428
connByNodeID: connsToNodeIDMap(conns),
2529
rand: xrand.New(

0 commit comments

Comments
 (0)