mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 16:30:17 +02:00
upgrade to go v1.24 (#5562)
* upgrade to go v1.24 * add a macOS-specific //nolint comment too --------- Co-authored-by: Kenneth Jenkins <51246568+kenjenkins@users.noreply.github.com>
This commit is contained in:
parent
8d9f1bb38e
commit
c47055bece
89 changed files with 170 additions and 190 deletions
|
@ -49,12 +49,12 @@ type Backend interface {
|
|||
}
|
||||
|
||||
// MatchAny searches any data with a query.
|
||||
func MatchAny(any *anypb.Any, query string) bool {
|
||||
if any == nil {
|
||||
func MatchAny(a *anypb.Any, query string) bool {
|
||||
if a == nil {
|
||||
return false
|
||||
}
|
||||
|
||||
msg, err := any.UnmarshalNew()
|
||||
msg, err := a.UnmarshalNew()
|
||||
if err != nil {
|
||||
// ignore invalid any types
|
||||
log.Error().Err(err).Msg("storage: invalid any type")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue