diff --git a/helper/pluginutil/runner.go b/helper/pluginutil/runner.go index 91439a3b8b..9dbe5c51bb 100644 --- a/helper/pluginutil/runner.go +++ b/helper/pluginutil/runner.go @@ -106,7 +106,6 @@ func (f *APIClientMeta) FlagSet() *flag.FlagSet { fs.StringVar(&f.flagCAPath, "ca-path", "", "") fs.StringVar(&f.flagClientCert, "client-cert", "", "") fs.StringVar(&f.flagClientKey, "client-key", "", "") - fs.BoolVar(&f.flagInsecure, "insecure", false, "") fs.BoolVar(&f.flagInsecure, "tls-skip-verify", false, "") return fs diff --git a/plugins/serve.go b/plugins/serve.go index 263b301f7b..a40fc5b14f 100644 --- a/plugins/serve.go +++ b/plugins/serve.go @@ -25,7 +25,7 @@ func Serve(plugin interface{}, tlsConfig *api.TLSConfig) { case dbplugin.Database: dbplugin.Serve(p, tlsProvider) default: - fmt.Println("Unsuported plugin type") + fmt.Println("Unsupported plugin type") } }