From abe38e7a2c2e11ee7b6a2424d840d47ace6d0f59 Mon Sep 17 00:00:00 2001 From: Dustin Essington Date: Sat, 11 Mar 2023 23:49:37 -0800 Subject: [PATCH] Adjust origin-insecure-skip-verify to a bool (#161) --- cmd/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/run.go b/cmd/run.go index d96bce5..395f307 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -72,7 +72,7 @@ func init() { _ = viper.BindPFlag(configOriginUsername, doCmd.PersistentFlags().Lookup("origin-username")) doCmd.PersistentFlags().String("origin-password", "", "Origin instance password") _ = viper.BindPFlag(configOriginPassword, doCmd.PersistentFlags().Lookup("origin-password")) - doCmd.PersistentFlags().String("origin-insecure-skip-verify", "", "Enable Origin instance InsecureSkipVerify") + doCmd.PersistentFlags().Bool("origin-insecure-skip-verify", false, "Enable Origin instance InsecureSkipVerify") _ = viper.BindPFlag(configOriginInsecureSkipVerify, doCmd.PersistentFlags().Lookup("origin-insecure-skip-verify")) doCmd.PersistentFlags().String("replica-url", "", "Replica instance url")