diff options
Diffstat (limited to 'exporting/opentsdb/opentsdb.c')
-rw-r--r-- | exporting/opentsdb/opentsdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exporting/opentsdb/opentsdb.c b/exporting/opentsdb/opentsdb.c index 9f65926641..d7b843dff9 100644 --- a/exporting/opentsdb/opentsdb.c +++ b/exporting/opentsdb/opentsdb.c @@ -152,7 +152,7 @@ int format_host_labels_opentsdb_telnet(struct instance *instance, RRDHOST *host) if (unlikely(!sending_labels_configured(instance))) return 0; - rrdhost_check_rdlock(localhost); + rrdhost_check_rdlock(host); netdata_rwlock_rdlock(&host->labels.labels_rwlock); for (struct label *label = host->labels.head; label; label = label->next) { if (!should_send_label(instance, label)) |