mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-28 14:11:10 +01:00
Fix a few PR comments
This commit is contained in:
parent
6e7696b840
commit
fe86f06daf
@ -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
|
||||
|
||||
@ -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")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user