summaryrefslogtreecommitdiffstats
path: root/registry/registry.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-17 10:46:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-17 10:46:12 +0000
commit51dfb248933e5fac12fee1be8471bb08f9554428 (patch)
tree1d25518313ca94af4257e56ef919605a219a4178 /registry/registry.c
parentAdding upstream version 1.42.0. (diff)
downloadnetdata-ca4c7d4262a157ddf46fed1ad2204ed49ec643b8.tar.xz
netdata-ca4c7d4262a157ddf46fed1ad2204ed49ec643b8.zip
Adding upstream version 1.42.1.upstream/1.42.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'registry/registry.c')
-rw-r--r--registry/registry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/registry/registry.c b/registry/registry.c
index 0393389ea..a2a8dd7ec 100644
--- a/registry/registry.c
+++ b/registry/registry.c
@@ -192,6 +192,7 @@ int registry_request_hello_json(RRDHOST *host, struct web_client *w) {
buffer_json_member_add_string(w->response.data, "registry", registry.registry_to_announce);
buffer_json_member_add_boolean(w->response.data, "anonymous_statistics", netdata_anonymous_statistics_enabled);
+ buffer_json_member_add_boolean(w->response.data, "X-Netdata-Auth", true);
buffer_json_member_add_array(w->response.data, "nodes");
RRDHOST *h;