aboutsummaryrefslogtreecommitdiff
path: root/internal/auth/github/provider.go
diff options
context:
space:
mode:
authordeepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>2022-03-06 16:37:41 +0800
committerGitHub <noreply@github.com>2022-03-06 16:37:41 +0800
commit09dbbf9a6989c8045e0297c5d62c9e0c2732c1d9 (patch)
tree89e87d402ad163d5eaf93cf10824d0cc471654d9 /internal/auth/github/provider.go
parentb7372b1f32cd0bb40984debfb049e3fc04efaee4 (diff)
autofix: fix unused method receiver (#6808)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Diffstat (limited to 'internal/auth/github/provider.go')
-rw-r--r--internal/auth/github/provider.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/auth/github/provider.go b/internal/auth/github/provider.go
index 4add2e54..eab9aa58 100644
--- a/internal/auth/github/provider.go
+++ b/internal/auth/github/provider.go
@@ -44,11 +44,11 @@ func (p *Provider) Config() interface{} {
return p.config
}
-func (p *Provider) HasTLS() bool {
+func (*Provider) HasTLS() bool {
return true
}
-func (p *Provider) UseTLS() bool {
+func (*Provider) UseTLS() bool {
return true
}