Skip to content

Commit bf4cb71

Browse files
committed
lib: cmetrics: upgrade to v0.8.0
Signed-off-by: Eduardo Silva <[email protected]>
1 parent f8c631b commit bf4cb71

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

lib/cmetrics/.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
submodules: true
7575

7676
- name: Build on ${{ matrix.os }} with ${{ matrix.compiler }}
77-
uses: uraimo/run-on-arch-action@v2.3.0
77+
uses: uraimo/run-on-arch-action@v2.5.0
7878
with:
7979
arch: aarch64
8080
distro: ubuntu20.04

lib/cmetrics/.github/workflows/packages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
submodules: true
2424

25-
- uses: uraimo/run-on-arch-action@v2.3.0
25+
- uses: uraimo/run-on-arch-action@v2.5.0
2626
name: Build the ${{matrix.format}} packages
2727
with:
2828
arch: aarch64

lib/cmetrics/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
55

66
# CMetrics Version
77
set(CMT_VERSION_MAJOR 0)
8-
set(CMT_VERSION_MINOR 7)
9-
set(CMT_VERSION_PATCH 3)
8+
set(CMT_VERSION_MINOR 8)
9+
set(CMT_VERSION_PATCH 0)
1010
set(CMT_VERSION_STR "${CMT_VERSION_MAJOR}.${CMT_VERSION_MINOR}.${CMT_VERSION_PATCH}")
1111

1212
# Include helpers

lib/cmetrics/src/cmt_decode_opentelemetry.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ static struct cfl_variant *clone_variant(Opentelemetry__Proto__Common__V1__AnyVa
108108
}
109109
}
110110
else if (source->value_case == OPENTELEMETRY__PROTO__COMMON__V1__ANY_VALUE__VALUE_BYTES_VALUE) {
111-
result_instance = cfl_variant_create_from_bytes((char *) source->bytes_value.data, source->bytes_value.len);
111+
result_instance = cfl_variant_create_from_bytes((char *) source->bytes_value.data, source->bytes_value.len,
112+
CFL_FALSE);
112113
}
113114

114115
return result_instance;
@@ -1265,7 +1266,7 @@ int cmt_decode_opentelemetry_create(struct cfl_list *result_context_list,
12651266

12661267
cfl_list_init(result_context_list);
12671268

1268-
service_request = opentelemetry__proto__collector__metrics__v1__export_metrics_service_request__unpack(NULL, in_size - *offset,
1269+
service_request = opentelemetry__proto__collector__metrics__v1__export_metrics_service_request__unpack(NULL, in_size - *offset,
12691270
(unsigned char *) &in_buf[*offset]);
12701271

12711272
if (service_request != NULL) {

0 commit comments

Comments
 (0)