mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Func note not consistent with real fun name
This commit is contained in:
		
							
								
								
									
										2
									
								
								plugin/pkg/webhook/webhook.go
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										2
									
								
								plugin/pkg/webhook/webhook.go
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@@ -38,7 +38,7 @@ type GenericWebhook struct {
 | 
			
		||||
	initialBackoff time.Duration
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// New creates a new GenericWebhook from the provided kubeconfig file.
 | 
			
		||||
// NewGenericWebhook creates a new GenericWebhook from the provided kubeconfig file.
 | 
			
		||||
func NewGenericWebhook(kubeConfigFile string, groupVersions []unversioned.GroupVersion, initialBackoff time.Duration) (*GenericWebhook, error) {
 | 
			
		||||
	for _, groupVersion := range groupVersions {
 | 
			
		||||
		if !registered.IsEnabledVersion(groupVersion) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user