From aef82e2fb76bca0d92c9eeed38a8b57288ed7c00 Mon Sep 17 00:00:00 2001 From: Kornilios Kourtis Date: Thu, 27 Jul 2023 14:12:04 +0200 Subject: [PATCH] grpc/tracing: remove unused type in HandleMessage [ upstream commit eebb6bac3496acc91195ccb141c9c7dda56c4cf9 ] [ backporter's note: minor modifications needed ] This code is seemingly not used. Remove it. Signed-off-by: Kornilios Kourtis Suggested-by: Anastasios Papagiannis Signed-off-by: Kornilios Kourtis --- pkg/grpc/tracing/tracing.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/grpc/tracing/tracing.go b/pkg/grpc/tracing/tracing.go index c461bcf7fd5..060ef47dd60 100644 --- a/pkg/grpc/tracing/tracing.go +++ b/pkg/grpc/tracing/tracing.go @@ -265,10 +265,6 @@ func (msg *MsgGenericTracepointUnix) HandleMessage() *tetragon.GetEventsResponse tetragonArgs = append(tetragonArgs, &tetragon.KprobeArgument{Arg: &tetragon.KprobeArgument_LongArg{ LongArg: v, }}) - case string: - tetragonArgs = append(tetragonArgs, &tetragon.KprobeArgument{Arg: &tetragon.KprobeArgument_StringArg{ - StringArg: v, - }}) case []byte: tetragonArgs = append(tetragonArgs, &tetragon.KprobeArgument{Arg: &tetragon.KprobeArgument_BytesArg{