From 09dbbf9a6989c8045e0297c5d62c9e0c2732c1d9 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 6 Mar 2022 16:37:41 +0800 Subject: autofix: fix unused method receiver (#6808) 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 a9da5de6..387e6ed6 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(_, _ string) error { +func (*Config) doAuth(_, _ string) error { return errors.New("PAM not supported") } -- cgit v1.2.3