Skip to content

Commit 1d474df

Browse files
committed
filter: fix metric type when creating an untyped map
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 9dd45a6 commit 1d474df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmt_filter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ static int filter_context_label_key_value(struct cmt *dst, struct cmt *src,
348348
return -1;
349349
}
350350

351-
map = cmt_map_create(CMT_UNTYPED, &gauge->opts,
351+
map = cmt_map_create(CMT_UNTYPED, &untyped->opts,
352352
untyped->map->label_count,
353353
labels, (void *) untyped);
354354
free(labels);

0 commit comments

Comments
 (0)