mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-28 18:06:34 +02:00
core/ci: fix linting issues (#4856)
This commit is contained in:
parent
a2fd95aae6
commit
ddc9d957ba
3 changed files with 1 additions and 5 deletions
|
@ -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(
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue