diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2021-11-22 20:58:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 20:58:05 +0200 |
commit | d13b918ad065528063c19d8d608ead180a923ead (patch) | |
tree | 09dfc367664885f997fb355c20864ede80cf582a /database/sqlite/sqlite_aclk_node.c | |
parent | c511d98c34f6cfde537f75ff71d5e1cb015ec45b (diff) |
Δont use wc στρθψτ if it may not exist (#11820)
Diffstat (limited to 'database/sqlite/sqlite_aclk_node.c')
-rw-r--r-- | database/sqlite/sqlite_aclk_node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/sqlite/sqlite_aclk_node.c b/database/sqlite/sqlite_aclk_node.c index 47b7f0afd3..ba498c2a78 100644 --- a/database/sqlite/sqlite_aclk_node.c +++ b/database/sqlite/sqlite_aclk_node.c @@ -52,7 +52,7 @@ void sql_build_node_info(struct aclk_database_worker_config *wc, struct aclk_dat node_info.data.host_labels_head = labels->head; aclk_update_node_info(&node_info); - log_access("OG [%s (%s)]: Sending node info for guid [%s] (%s).", wc->node_id, wc->host ? wc->host->hostname : "N/A", wc->host_guid, wc->host == localhost ? "parent" : "child"); + log_access("OG [%s (%s)]: Sending node info for guid [%s] (%s).", wc->node_id, wc->host->hostname, wc->host_guid, wc->host == localhost ? "parent" : "child"); netdata_rwlock_unlock(&labels->labels_rwlock); rrd_unlock(); |