From e786bf3c9cfad020249c291576ccac888b0d02fa Mon Sep 17 00:00:00 2001 From: jakedoublev Date: Mon, 28 Oct 2024 13:42:33 -0700 Subject: [PATCH] lint --- pkg/handlers/selectors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/handlers/selectors.go b/pkg/handlers/selectors.go index 9ae3f205..90f238be 100644 --- a/pkg/handlers/selectors.go +++ b/pkg/handlers/selectors.go @@ -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 {