diff options
author | Vladimir Kobal <vlad@prokk.net> | 2020-02-01 00:05:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-01 00:05:45 +0200 |
commit | 177af26ea878e673166ebbeb4518539f624a81f0 (patch) | |
tree | 9f874527a1e6e25c85a05d62b3623e6d8b5f79fd /health | |
parent | 43bc627b1dc2e667ad2e6e8a0c2ff1e0b512dcdf (diff) |
Parse host tags (#7702)
* Fix memory leaks
* Check for configuration options
* Parse simple tags
* Parse JSON tags
* Remove an unnecessary check
* Parse a JSON object
* Parse a JSON array
* Update the documentation
* Fix host locks
Diffstat (limited to 'health')
-rw-r--r-- | health/health_log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/health/health_log.c b/health/health_log.c index 11714a2dd8..24ee538498 100644 --- a/health/health_log.c +++ b/health/health_log.c @@ -72,6 +72,7 @@ inline void health_label_log_save(RRDHOST *host) { if(likely(host->health_log_fp)) { BUFFER *wb = buffer_create(1024); + rrdhost_check_rdlock(host); netdata_rwlock_rdlock(&host->labels_rwlock); struct label *l=localhost->labels; while (l != NULL) { |