Skip to content
Snippets Groups Projects
Commit 922c563c authored by Neil-Jocelyn Schark's avatar Neil-Jocelyn Schark
Browse files

set default of passthrough to false

See merge request !144
parent 2b0d61eb
No related branches found
No related tags found
1 merge request!144set default of passthrough to false
Pipeline #202333 passed
...@@ -55,7 +55,7 @@ func main() { ...@@ -55,7 +55,7 @@ func main() {
certFile := flag.String("certFile", "", "location of the gNMI cert file (overwrites settings in config file)") certFile := flag.String("certFile", "", "location of the gNMI cert file (overwrites settings in config file)")
keyFile := flag.String("keyFile", "", "location of the gNMI key file (overwrites settings in config file)") keyFile := flag.String("keyFile", "", "location of the gNMI key file (overwrites settings in config file)")
caFile := flag.String("caFile", "", "location of the gNMI ca file (overwrites settings in config file)") caFile := flag.String("caFile", "", "location of the gNMI ca file (overwrites settings in config file)")
noGRPCPassthrough := flag.Bool("noGRPCPassthrough", true, "set the default resolve scheme for grpc to not use passthrough, default is false") noGRPCPassthrough := flag.Bool("noGRPCPassthrough", false, "set the default resolve scheme for grpc to not use passthrough, default is false")
flag.Parse() flag.Parse()
......
...@@ -27,7 +27,7 @@ type Config struct { ...@@ -27,7 +27,7 @@ type Config struct {
func main() { func main() {
configPath := flag.String("config", "", "path to the config file") configPath := flag.String("config", "", "path to the config file")
logLevel := flag.String("log", "info", "logrus lof level (debug, info, warn, error, fatal, panic), default: info") logLevel := flag.String("log", "info", "logrus lof level (debug, info, warn, error, fatal, panic), default: info")
noGRPCPassthrough := flag.Bool("noGRPCPassthrough", true, "set the default resolve scheme for grpc to not use passthrough, default is false") noGRPCPassthrough := flag.Bool("noGRPCPassthrough", false, "set the default resolve scheme for grpc to not use passthrough, default is false")
flag.Parse() flag.Parse()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment