Skip to content

Commit

Permalink
decode: opentelemetry: adjust function prototypes
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Apr 12, 2024
1 parent 33ca71e commit 7c6707d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ctr_decode_opentelemetry.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,12 @@ static int convert_bytes_value(struct opentelemetry_decode_value *ctr_val,
break;

case CTR_OPENTELEMETRY_TYPE_ARRAY:
result = cfl_array_append_bytes(ctr_val->cfl_arr, buf, len);
result = cfl_array_append_bytes(ctr_val->cfl_arr, buf, len, CFL_FALSE);
break;

case CTR_OPENTELEMETRY_TYPE_KVLIST:
result = cfl_kvlist_insert_bytes(ctr_val->cfl_kvlist, key, buf, len);
result = cfl_kvlist_insert_bytes(ctr_val->cfl_kvlist, key, buf, len, CFL_FALSE);
break;

}

if (result == -2) {
Expand Down

0 comments on commit 7c6707d

Please sign in to comment.