From 89a086dec28b1456715c5ac0d6a44d3756a32078 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Wed, 14 Sep 2022 11:33:57 -0600 Subject: [PATCH] Fix identifier rename on non-Linux file I guess the tooling only refactors for your OS! --- listen.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/listen.go b/listen.go index 4672442e..93c40714 100644 --- a/listen.go +++ b/listen.go @@ -15,7 +15,7 @@ import ( func ListenTimeout(network, addr string, keepAlivePeriod time.Duration) (net.Listener, error) { // check to see if plugin provides listener if ln, err := getListenerFromPlugin(network, addr); err != nil || ln != nil { - return acceptPipe(ln), err + return pipeable(ln), err } lnKey := listenerKey(network, addr) @@ -29,7 +29,7 @@ func ListenTimeout(network, addr string, keepAlivePeriod time.Duration) (net.Lis } return nil, err } - return &sharedListener{Listener: acceptPipe(ln), key: lnKey}, nil + return &sharedListener{Listener: pipeable(ln), key: lnKey}, nil }) if err != nil { return nil, err