From 922c563c860a1140f1bc0c11c389d96abf911e4c Mon Sep 17 00:00:00 2001
From: Neil-Jocelyn Schark <neil.schark@h-da.de>
Date: Fri, 7 Jun 2024 13:01:21 +0000
Subject: [PATCH] set default of passthrough to false

See merge request danet/quant!144
---
 goKMS/main.go             | 2 +-
 quantumlayer/main/main.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/goKMS/main.go b/goKMS/main.go
index 3ee07e40..685c82d7 100644
--- a/goKMS/main.go
+++ b/goKMS/main.go
@@ -55,7 +55,7 @@ func main() {
 	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)")
 	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()
 
diff --git a/quantumlayer/main/main.go b/quantumlayer/main/main.go
index 545dea77..bc060c79 100644
--- a/quantumlayer/main/main.go
+++ b/quantumlayer/main/main.go
@@ -27,7 +27,7 @@ type Config struct {
 func main() {
 	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")
-	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()
 
-- 
GitLab