Skip to content

Commit d985e8e

Browse files
pwhelanedsiper
authored andcommitted
in_splunk: propagate the return value inside process_hec_payload from handle_hec_payload.
Signed-off-by: Phillip Whelan <[email protected]>
1 parent 1919494 commit d985e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/in_splunk/splunk_prot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ static int process_hec_payload(struct flb_splunk *ctx, struct splunk_conn *conn,
642642
ret = handle_hec_payload(ctx, type, tag, request->data.data, request->data.len);
643643
}
644644

645-
return 0;
645+
return ret;
646646
}
647647

648648
static int process_hec_raw_payload(struct flb_splunk *ctx, struct splunk_conn *conn,

0 commit comments

Comments
 (0)