mirror of
https://github.com/containers/gvisor-tap-vsock.git
synced 2025-09-27 05:08:25 +08:00

This fixes several of these: unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
15 lines
228 B
Go
15 lines
228 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package sshclient
|
|
|
|
import (
|
|
"errors"
|
|
"net"
|
|
"net/url"
|
|
)
|
|
|
|
func ListenNpipe(_ *url.URL) (net.Listener, error) {
|
|
return nil, errors.New("named pipes are not supported by this platform")
|
|
}
|