Chore: Configure go-ruleguard via golangci-lint (#28419)
* Chore: Configure go-ruleguard via golangci-lint Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -86,6 +86,6 @@ func IsOAuthPassThruEnabled(ds *models.DataSource) bool {
|
||||
func tokensEq(t1, t2 *oauth2.Token) bool {
|
||||
return t1.AccessToken == t2.AccessToken &&
|
||||
t1.RefreshToken == t2.RefreshToken &&
|
||||
t1.Expiry == t2.Expiry &&
|
||||
t1.Expiry.Equal(t2.Expiry) &&
|
||||
t1.TokenType == t2.TokenType
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user