Skip to content

Commit

Permalink
Change to review comment
Browse files Browse the repository at this point in the history
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
  • Loading branch information
joyxxi and pierDipi committed Jul 22, 2024
1 parent 76eb3b0 commit a9a3cb8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/broker/ingress/ingress_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ func (h *Handler) ServeHTTP(writer http.ResponseWriter, request *http.Request) {
err = h.tokenVerifier.VerifyRequest(ctx, features, audience, brokerNamespace, broker.Status.Policies, request, writer)
if err != nil {
h.Logger.Warn("Failed to verify AuthN and AuthZ.", zap.Error(err))
writer.WriteHeader(http.StatusForbidden)
return
}

Expand Down

0 comments on commit a9a3cb8

Please sign in to comment.