summaryrefslogtreecommitdiffstats
path: root/web/api/formatters/json_wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'web/api/formatters/json_wrapper.c')
-rw-r--r--web/api/formatters/json_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/formatters/json_wrapper.c b/web/api/formatters/json_wrapper.c
index 52025c9fc..baa39e228 100644
--- a/web/api/formatters/json_wrapper.c
+++ b/web/api/formatters/json_wrapper.c
@@ -1209,7 +1209,7 @@ static void query_target_detailed_objects_tree(BUFFER *wb, RRDR *r, RRDR_OPTIONS
buffer_json_member_add_object(wb, rrdinstance_acquired_id(ria));
buffer_json_member_add_string(wb, "nm", rrdinstance_acquired_name(ria));
buffer_json_member_add_time_t(wb, "ue", rrdinstance_acquired_update_every(ria));
- DICTIONARY *labels = rrdinstance_acquired_labels(ria);
+ RRDLABELS *labels = rrdinstance_acquired_labels(ria);
if(labels) {
buffer_json_member_add_object(wb, "labels");
rrdlabels_to_buffer_json_members(labels, wb);