Skip to content

Commit

Permalink
grpc/tracing: remove unused type in HandleMessage
Browse files Browse the repository at this point in the history
[ upstream commit eebb6ba ]

[ backporter's note: minor modifications needed ]

This code is seemingly not used. Remove it.

Signed-off-by: Kornilios Kourtis <[email protected]>
Suggested-by: Anastasios Papagiannis <[email protected]>
Signed-off-by: Kornilios Kourtis <[email protected]>
  • Loading branch information
kkourt committed Jul 28, 2023
1 parent b1937f1 commit aef82e2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/grpc/tracing/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit aef82e2

Please sign in to comment.