Skip to content

Commit f300668

Browse files
authored
Merge pull request #2724 from fengzeroz/main
fix: read tag with unit in read_group_paginate
2 parents 0c9ff7f + 8cce511 commit f300668

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/adapter/driver/driver.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3180,6 +3180,7 @@ static void read_group_paginate(int64_t timestamp, int64_t timeout,
31803180
tag_value.datatag.bias = tag->bias;
31813181
tag_value.datatag.description = strdup(tag->description);
31823182
tag_value.datatag.option = tag->option;
3183+
tag_value.datatag.unit = strdup(tag->unit);
31833184
memcpy(tag_value.datatag.meta, tag->meta, NEU_TAG_META_LENGTH);
31843185

31853186
if (tag->attribute == NEU_ATTRIBUTE_WRITE) {

0 commit comments

Comments
 (0)