summaryrefslogtreecommitdiffstats
path: root/health/health_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'health/health_config.c')
-rw-r--r--health/health_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/health_config.c b/health/health_config.c
index 4e93235e2a..8434a0ce1b 100644
--- a/health/health_config.c
+++ b/health/health_config.c
@@ -452,7 +452,7 @@ char *health_edit_command_from_source(const char *source)
netdata_configured_user_config_dir,
file_no_path + 1,
temp,
- rrdhost_registry_hostname(localhost));
+ rrdhost_registry_hostname(rrdb.localhost));
} else
buffer[0] = '\0';