Skip to content

Commit

Permalink
Addressed comments
Browse files Browse the repository at this point in the history
Signed-off-by: avilevy <[email protected]>
  • Loading branch information
avilevy18 committed Nov 21, 2023
1 parent c1dcc7e commit deb51c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/out_stackdriver/stackdriver.c
Original file line number Diff line number Diff line change
Expand Up @@ -2769,7 +2769,6 @@ static void cb_stackdriver_flush(struct flb_event_chunk *event_chunk,
printf("%s", payload_buf);
flb_sds_destroy(payload_buf);
FLB_OUTPUT_RETURN(FLB_OK);
return;
}

/* Get upstream connection */
Expand All @@ -2784,7 +2783,7 @@ static void cb_stackdriver_flush(struct flb_event_chunk *event_chunk,

update_retry_metric(ctx, event_chunk, ts, STACKDRIVER_NET_ERROR);
#endif
flb_upstream_conn_release(u_conn);
flb_sds_destroy(payload_buf);
FLB_OUTPUT_RETURN(FLB_RETRY);
}

Expand Down

0 comments on commit deb51c8

Please sign in to comment.