From 3be587c39f62ee0732c30aed563df26ac025dd2a Mon Sep 17 00:00:00 2001 From: Artem Glazychev Date: Tue, 3 Oct 2023 20:50:05 +0700 Subject: [PATCH] Fix pinhole panic in case of error Signed-off-by: Artem Glazychev --- pkg/networkservice/pinhole/common.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/networkservice/pinhole/common.go b/pkg/networkservice/pinhole/common.go index b14d1014..2f2d0735 100644 --- a/pkg/networkservice/pinhole/common.go +++ b/pkg/networkservice/pinhole/common.go @@ -207,7 +207,6 @@ func tunnelIPSwIfIndex(ctx context.Context, vppConn api.Connection, tunnelIP net swIfDetails, swIfDumpErr = swIfDumpClient.Recv() } log.FromContext(ctx). - WithField("swIfIndex", swIfDetails.SwIfIndex). WithField("duration", time.Since(now)). WithField("vppapi", "SwInterfaceDump").Debugf("did not find interface with ip %s", tunnelIP) return 0, errors.Errorf("unable to find tunnelIP (%s) on any vpp interface", tunnelIP)