cli/connhelper/commandconn: remove name for unused arg (revive)

cli/connhelper/commandconn/commandconn.go:35:10: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func New(ctx context.Context, cmd string, args ...string) (net.Conn, error) {
             ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-03-30 16:45:07 +02:00
parent dd6ede2109
commit 90380d9576
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ import (
) )
// New returns net.Conn // New returns net.Conn
func New(ctx context.Context, cmd string, args ...string) (net.Conn, error) { func New(_ context.Context, cmd string, args ...string) (net.Conn, error) {
var ( var (
c commandConn c commandConn
err error err error