Skip to content

Commit

Permalink
Update internal/admission/handler.go
Browse files Browse the repository at this point in the history
  • Loading branch information
randmonkey authored Oct 12, 2024
1 parent cb8f3ff commit 98db664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/admission/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (h RequestHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}

if response.Allowed != true {
if !response.Allowed {
h.Logger.Info(
"Object admission request not allowed",
"name", review.Request.Name,
Expand Down

0 comments on commit 98db664

Please sign in to comment.