mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 18:28:13 +00:00 
			
		
		
		
	imagepolicy admission.go: typo fix
This commit is contained in:
		| @@ -169,7 +169,7 @@ func (a *imagePolicyWebhook) admitPod(attributes admission.Attributes, review *v | |||||||
|  |  | ||||||
| 	if !review.Status.Allowed { | 	if !review.Status.Allowed { | ||||||
| 		if len(review.Status.Reason) > 0 { | 		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") | 		return errors.New("one or more images rejected by webhook backend") | ||||||
| 	} | 	} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jonathan Pulsifer
					Jonathan Pulsifer