From 3acc13038dfe5e0643112140d329c6eb0ed4cd6a Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 6 Mar 2022 15:46:21 +0800 Subject: autofix: unused parameter should be replaced by underscore (#6799) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> --- internal/auth/pam/pam_stub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/auth/pam/pam_stub.go') diff --git a/internal/auth/pam/pam_stub.go b/internal/auth/pam/pam_stub.go index 65777fd2..a9da5de6 100644 --- a/internal/auth/pam/pam_stub.go +++ b/internal/auth/pam/pam_stub.go @@ -11,6 +11,6 @@ import ( "github.com/pkg/errors" ) -func (c *Config) doAuth(login, password string) error { +func (c *Config) doAuth(_, _ string) error { return errors.New("PAM not supported") } -- cgit v1.2.3