mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
Merge pull request #32186 from zhouhaibing089/typo-fix
Automatic merge from submit-queue the image policy webhook missing field log simple and naive fix. :) cc @ecordell
This commit is contained in:
commit
dd46d19d4d
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ func (a *imagePolicyWebhook) filterAnnotations(allAnnotations map[string]string)
|
|||
// Function to call on webhook failure; behavior determined by defaultAllow flag
|
||||
func (a *imagePolicyWebhook) webhookError(attributes admission.Attributes, err error) error {
|
||||
if err != nil {
|
||||
glog.V(2).Infof("error contacting webhook backend: %s")
|
||||
glog.V(2).Infof("error contacting webhook backend: %s", err)
|
||||
if a.defaultAllow {
|
||||
glog.V(2).Infof("resource allowed in spite of webhook backend failure")
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue