From 359c02a5fc5c9378e4ea5f624bcb238b227f7fb0 Mon Sep 17 00:00:00 2001
From: Manuel Kieweg <mail@manuelkieweg.de>
Date: Thu, 18 Feb 2021 11:31:46 +0000
Subject: [PATCH] Tests for GnmiTransport implementation

---
 nucleus/gnmi_transport.go | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/nucleus/gnmi_transport.go b/nucleus/gnmi_transport.go
index edb7662a0..852501fcc 100644
--- a/nucleus/gnmi_transport.go
+++ b/nucleus/gnmi_transport.go
@@ -14,10 +14,13 @@ import (
 	"time"
 )
 
+var tapProto bool
+
 func init() {
-	// tapProto taps get responses and requests to binary file
+	// tapProto taps gpb.getResponse and gpb.Getrequests
+	// to binary file
 	// CAUTION only set true if you know what you do
-	tapProto = true
+	tapProto = false
 }
 
 func NewGnmiTransport(config *gnmi.Config) (*Gnmi, error) {
-- 
GitLab