Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jakedoublev committed Oct 28, 2024
1 parent f48daee commit e786bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/handlers/selectors.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

func ParseSubjectString(subject string) (map[string]interface{}, error) {
var value map[string]interface{}
// If fails to unmarshal, may be a JWT, so swallow the error
//nolint:errcheck // if fails to unmarshal, may be a JWT, so swallow the error
json.Unmarshal([]byte(subject), &value)

if value == nil {
Expand Down

0 comments on commit e786bf3

Please sign in to comment.