Commit 3cede389 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #45591 from JonPulsifer/webhook-typo

Automatic merge from submit-queue (batch tested with PRs 41331, 45591, 45600, 45176, 45658) Fixing typo in ImagePolicyWebhook admission.go **What this PR does / why we need it**: Noticed a typo in kubectl events when working with the ImagePolicyWebhook admission controller **Special notes for your reviewer**: first time contributor
parents f6bcd28c fd7a32d6
......@@ -169,7 +169,7 @@ func (a *imagePolicyWebhook) admitPod(attributes admission.Attributes, review *v
if !review.Status.Allowed {
if len(review.Status.Reason) > 0 {
return fmt.Errorf("image policy webook backend denied one or more images: %s", review.Status.Reason)
return fmt.Errorf("image policy webhook backend denied one or more images: %s", review.Status.Reason)
}
return errors.New("one or more images rejected by webhook backend")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment