Skip to content

Commit 961d3be

Browse files
committed
revert multiListen change
1 parent ce012aa commit 961d3be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

net/multi_listen.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ func MultiListen(ctx context.Context, network string, addrs ...string) (net.List
6161
ctx,
6262
network,
6363
addrs,
64-
lc.Listen,
65-
)
64+
func(ctx context.Context, network, address string) (net.Listener, error) {
65+
return lc.Listen(ctx, network, address)
66+
})
6667
}
6768

6869
// multiListen implements MultiListen by consuming stdlib functions as dependency allowing

0 commit comments

Comments
 (0)