diff --git a/src/ctr_decode_opentelemetry.c b/src/ctr_decode_opentelemetry.c index ba9f2eb..768f86f 100644 --- a/src/ctr_decode_opentelemetry.c +++ b/src/ctr_decode_opentelemetry.c @@ -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) {