Files
gvisor-tap-vsock/pkg/sshclient/npipe_unsupported.go
Christophe Fergeau 9e14e5b8e5 lint: Fix unused parameter errors from golangci-lint
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>
2023-04-19 10:28:12 +02:00

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")
}