From 31ce8e9a3ce48d8fae08e6be6dee3248b5b63a7a Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Mon, 13 Jun 2016 22:14:19 +0100 Subject: Run the linter as part of tests. Fix lint warnings. --- server/auth/github/github.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/auth') diff --git a/server/auth/github/github.go b/server/auth/github/github.go index 7904e26..9bbd8f6 100644 --- a/server/auth/github/github.go +++ b/server/auth/github/github.go @@ -67,9 +67,9 @@ func (c *Config) Valid(token *oauth2.Token) bool { return member } -// GitHub doesn't seem to allow token revocation - tokens are indefinite and -// there are no refresh options etc. Returns nil to satisfy the Provider -// interface. +// Revoke is a no-op revoke method. GitHub doesn't seem to allow token +// revocation - tokens are indefinite and there are no refresh options etc. +// Returns nil to satisfy the Provider interface. func (c *Config) Revoke(token *oauth2.Token) error { return nil } -- cgit v1.2.3