Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Nov 27, 2023
1 parent 2f14d11 commit 1bc55f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kuadrantapi/authpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func AuthPolicyAuthenticationSchemeFromOAS(doc *openapi3.T) map[string]kuadranta

func findOIDCSecuritySchemesFromRequirements(doc *openapi3.T, secRequirements openapi3.SecurityRequirements) *openapi3.SecurityScheme {
for _, secReq := range secRequirements {
for secReqItemName, _ := range secReq {
for secReqItemName := range secReq {
secScheme, ok := doc.Components.SecuritySchemes[secReqItemName]
if !ok {
// should never happen. OpenAPI validation should detect this issue
Expand Down

0 comments on commit 1bc55f3

Please sign in to comment.