From 5cf44867803082d49a5bb19286ed93018222e4d7 Mon Sep 17 00:00:00 2001 From: avilevy Date: Tue, 21 Nov 2023 23:56:10 +0000 Subject: [PATCH] Addressed comments Signed-off-by: avilevy --- plugins/out_stackdriver/stackdriver.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/out_stackdriver/stackdriver.c b/plugins/out_stackdriver/stackdriver.c index d8af6e721c1..5c0a2cf8647 100644 --- a/plugins/out_stackdriver/stackdriver.c +++ b/plugins/out_stackdriver/stackdriver.c @@ -2759,8 +2759,6 @@ static void cb_stackdriver_flush(struct flb_event_chunk *event_chunk, /* OLD api */ flb_metrics_sum(FLB_STACKDRIVER_FAILED_REQUESTS, 1, ctx->ins->metrics); - - update_retry_metric(ctx, event_chunk, ts, STACKDRIVER_NET_ERROR); #endif FLB_OUTPUT_RETURN(FLB_RETRY); }