Skip to content

Commit fe86f06

Browse files
author
Brian Kassouf
committed
Fix a few PR comments
1 parent 6e7696b commit fe86f06

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

helper/pluginutil/runner.go

-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ func (f *APIClientMeta) FlagSet() *flag.FlagSet {
106106
fs.StringVar(&f.flagCAPath, "ca-path", "", "")
107107
fs.StringVar(&f.flagClientCert, "client-cert", "", "")
108108
fs.StringVar(&f.flagClientKey, "client-key", "", "")
109-
fs.BoolVar(&f.flagInsecure, "insecure", false, "")
110109
fs.BoolVar(&f.flagInsecure, "tls-skip-verify", false, "")
111110

112111
return fs

plugins/serve.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func Serve(plugin interface{}, tlsConfig *api.TLSConfig) {
2525
case dbplugin.Database:
2626
dbplugin.Serve(p, tlsProvider)
2727
default:
28-
fmt.Println("Unsuported plugin type")
28+
fmt.Println("Unsupported plugin type")
2929
}
3030

3131
}

0 commit comments

Comments
 (0)