diff --git a/plugin/pkg/webhook/webhook.go b/plugin/pkg/webhook/webhook.go old mode 100644 new mode 100755 index 103e37c5e28..593457b1fb9 --- a/plugin/pkg/webhook/webhook.go +++ b/plugin/pkg/webhook/webhook.go @@ -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) {