Skip to content

Commit

Permalink
in_opentelemetry: removed unused code
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich committed Mar 13, 2024
1 parent 0440c47 commit 627741c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/in_opentelemetry/opentelemetry_prot.c
Original file line number Diff line number Diff line change
Expand Up @@ -2135,12 +2135,10 @@ int opentelemetry_prot_handle_ng(struct flb_http_request *request,
{
char payload_type;
int grpc_request;
struct flb_http_server_session *session;
struct flb_opentelemetry *context;
int result;

context = (struct flb_opentelemetry *) response->stream->user_data;
FLB_HTTP_STREAM_GET_SESSION(request->stream, &session);

if (request->path[0] != '/') {
send_response_ng(response, 400, "error: invalid request\n");
Expand Down

0 comments on commit 627741c

Please sign in to comment.