From 3dfdb1dbb35d42f0707851942c84e060f923671b Mon Sep 17 00:00:00 2001
From: lixiaobing10051267
Date: Sat, 16 Jul 2016 10:25:01 +0800
Subject: [PATCH] Func note not consistent with real fun name
---
plugin/pkg/webhook/webhook.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
mode change 100644 => 100755 plugin/pkg/webhook/webhook.go
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) {