Skip to content

Commit

Permalink
Merge pull request #83 from cerberauth/renovate/all-minor-patch
Browse files Browse the repository at this point in the history
chore(deps): update golang docker tag to v1.23
  • Loading branch information
emmanuelgautier authored Aug 17, 2024
2 parents 1ab7309 + deb99b5 commit 5ace154
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .docker/Dockerfile-build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22-bookworm AS builder
FROM golang:1.23-bookworm AS builder

WORKDIR /go/src/github.com/cerberauth/openapi-oathkeeper

Expand Down
2 changes: 1 addition & 1 deletion generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (g *Generator) createRule(verb string, path string, o *openapi3.Operation)

if o.Security != nil && len(*o.Security) > 0 {
appendAuthenticator(o.Security)
} else if g.doc.Security != nil && len(g.doc.Security) > 0 {
} else if len(g.doc.Security) > 0 {
appendAuthenticator(&g.doc.Security)
} else {
ar, arerror := g.authenticators[string(authenticator.AuthenticatorTypeNoop)].CreateAuthenticator(nil)
Expand Down

0 comments on commit 5ace154

Please sign in to comment.