Skip to content

Commit 7ea7ca0

Browse files
leonardo-albertovichedsiper
authored andcommitted
out_splunk: fixed erroneous check that wasn't meant to make it to git
Signed-off-by: Leonardo Alminana <leonardo.alminana@chronosphere.io>
1 parent b293f66 commit 7ea7ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/out_splunk/splunk.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ static int pack_otel_data(struct flb_splunk *ctx,
174174
sizeof(schema));
175175

176176
if (result != 0) {
177-
return -1;
177+
return 0;
178178
}
179179

180180
if (strcmp(schema, "otlp") != 0) {

0 commit comments

Comments
 (0)