core/ci: fix linting issues (#4856)

This commit is contained in:
Caleb Doxsey 2023-12-14 10:47:13 -07:00 committed by GitHub
parent a2fd95aae6
commit ddc9d957ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 5 deletions

View file

@ -11,9 +11,7 @@ import (
"github.com/pomerium/pomerium/pkg/protoutil"
)
var (
sessionTypeURL = protoutil.GetTypeURL(new(session.Session))
)
var sessionTypeURL = protoutil.GetTypeURL(new(session.Session))
// CurrentUsers returns a list of users active within the current UTC day
func CurrentUsers(

View file

@ -26,7 +26,6 @@ func (e *RequestIDError) Unwrap() error {
// Is implements errors.Is for RequestIDError
func (e *RequestIDError) Is(err error) bool {
//nolint:errorlint
_, ok := err.(*RequestIDError)
return ok
}

View file

@ -22,7 +22,6 @@ func (e *terminalError) Unwrap() error {
// Is implements errors.Is for terminalError
func (e *terminalError) Is(err error) bool {
//nolint:errorlint
_, ok := err.(*terminalError)
return ok
}