Fix a few PR comments

This commit is contained in:
Brian Kassouf 2017-05-02 15:59:08 -07:00
parent 6e7696b840
commit fe86f06daf
2 changed files with 1 additions and 2 deletions

View File

@ -106,7 +106,6 @@ func (f *APIClientMeta) FlagSet() *flag.FlagSet {
fs.StringVar(&f.flagCAPath, "ca-path", "", "") fs.StringVar(&f.flagCAPath, "ca-path", "", "")
fs.StringVar(&f.flagClientCert, "client-cert", "", "") fs.StringVar(&f.flagClientCert, "client-cert", "", "")
fs.StringVar(&f.flagClientKey, "client-key", "", "") fs.StringVar(&f.flagClientKey, "client-key", "", "")
fs.BoolVar(&f.flagInsecure, "insecure", false, "")
fs.BoolVar(&f.flagInsecure, "tls-skip-verify", false, "") fs.BoolVar(&f.flagInsecure, "tls-skip-verify", false, "")
return fs return fs

View File

@ -25,7 +25,7 @@ func Serve(plugin interface{}, tlsConfig *api.TLSConfig) {
case dbplugin.Database: case dbplugin.Database:
dbplugin.Serve(p, tlsProvider) dbplugin.Serve(p, tlsProvider)
default: default:
fmt.Println("Unsuported plugin type") fmt.Println("Unsupported plugin type")
} }
} }