diff options
author | vkalintiris <vasilis@netdata.cloud> | 2023-08-03 13:13:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-03 13:13:36 +0300 |
commit | 0e230a260ec7d8b4d6dc5c7165da6ab103d096b3 (patch) | |
tree | b46528e5ace00358c342ea3d571d85bda5c546ed /daemon/buildinfo.c | |
parent | 72549b3a2247f763180925d7c84b0eee8086fa14 (diff) |
Revert "Refactor RRD code. (#15423)" (#15723)
This reverts commit 440bd51e08fdfa2a4daa191fb68643456028a753.
dbengine was still being used for non-zero tiers
even on non-dbengine modes.
Diffstat (limited to 'daemon/buildinfo.c')
-rw-r--r-- | daemon/buildinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/buildinfo.c b/daemon/buildinfo.c index 9e2d821392..56cde84fc2 100644 --- a/daemon/buildinfo.c +++ b/daemon/buildinfo.c @@ -1252,8 +1252,8 @@ static void populate_system_info(void) { struct rrdhost_system_info *system_info; bool free_system_info = false; - if(rrdb.localhost && rrdb.localhost->system_info) { - system_info = rrdb.localhost->system_info; + if(localhost && localhost->system_info) { + system_info = localhost->system_info; } else { system_info = callocz(1, sizeof(struct rrdhost_system_info)); |