0
0
mirror of https://github.com/thegeeklab/wp-plugin-go.git synced 2024-11-22 10:20:39 +00:00

Skip should be regular bool flag

This commit is contained in:
Don 2019-10-29 14:37:15 -07:00
parent f59267804f
commit 049cce9e39

View File

@ -37,7 +37,7 @@ const networkSkipVerifyFlag = "transport.skip-verify"
// networkFlags has the cli.Flags for the Transport. // networkFlags has the cli.Flags for the Transport.
func networkFlags() []cli.Flag { func networkFlags() []cli.Flag {
return []cli.Flag{ return []cli.Flag{
cli.BoolTFlag{ cli.BoolFlag{
Name: networkSkipVerifyFlag, Name: networkSkipVerifyFlag,
Usage: "skip ssl verify", Usage: "skip ssl verify",
EnvVar: "PLUGIN_SKIP_VERIFY", EnvVar: "PLUGIN_SKIP_VERIFY",