mirror of
https://github.com/project-zot/zot.git
synced 2026-06-18 05:28:07 +08:00
9e9e6f43da
The "sub" string in bearer_oidc.go is the standard OIDC claim name defined by the specification and should remain as a literal. The "test-user" string in bearer_oidc_test.go is test fixture data that doesn't benefit from being extracted to a constant. Both warnings are suppressed with //nolint:goconst directives. Co-authored-by: rchincha <45800463+rchincha@users.noreply.github.com>