diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2021-12-13 16:03:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 16:03:38 +0200 |
commit | 881a1b9e139189d56e26795459a5fc3d05a7f8ec (patch) | |
tree | 19bec3e118d66463c8507fe6f65118ce585863c8 | |
parent | a251fc0a16991b873d1b1919605e93375fa7d03d (diff) |
Use the chart id instead of chart name in response to incoming cloud context queries (#11898)
-rw-r--r-- | web/api/formatters/json_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/formatters/json_wrapper.c b/web/api/formatters/json_wrapper.c index 1d9c2472af..264377e203 100644 --- a/web/api/formatters/json_wrapper.c +++ b/web/api/formatters/json_wrapper.c @@ -114,7 +114,7 @@ void rrdr_json_wrapper_begin(RRDR *r, BUFFER *wb, uint32_t format, RRDR_OPTIONS if (i) buffer_strcat(wb, ", "); buffer_strcat(wb, sq); - buffer_strcat(wb, rd->rrdset->name); + buffer_strcat(wb, rd->rrdset->id); buffer_strcat(wb, sq); i++; } |