diff options
author | deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> | 2022-03-06 15:46:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-06 15:46:21 +0800 |
commit | 3acc13038dfe5e0643112140d329c6eb0ed4cd6a (patch) | |
tree | 7205f5757e00f509670cbd61e7b01dfaf8092f11 /internal/auth/pam/pam_stub.go | |
parent | ab96a4f0d840987797e79ec7e3a4b02a7b6880e7 (diff) |
autofix: unused parameter should be replaced by underscore (#6799)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Diffstat (limited to 'internal/auth/pam/pam_stub.go')
-rw-r--r-- | internal/auth/pam/pam_stub.go | 2 |
1 files changed, 1 insertions, 1 deletions
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") } |