summaryrefslogtreecommitdiffstats
path: root/streaming
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2022-06-27 16:03:20 +0200
committerGitHub <noreply@github.com>2022-06-27 16:03:20 +0200
commitcb13f0787d77c5e36f79ab18f492a52e0ec11123 (patch)
tree3f3f0269b34d895bb38d8c7bbc45cbd18022ac6c /streaming
parentb8bfe953fbc8b35e13bd85975d4b23b90a6346b8 (diff)
Removes Legacy JSON Cloud Protocol Support In Agent (#13111)
* removes old protocol support (cloud removed support already)
Diffstat (limited to 'streaming')
-rw-r--r--streaming/receiver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/streaming/receiver.c b/streaming/receiver.c
index 3e8639151f..27a3b12baa 100644
--- a/streaming/receiver.c
+++ b/streaming/receiver.c
@@ -699,7 +699,7 @@ static int rrdpush_receive(struct receiver_state *rpt)
cd.version = rpt->stream_version;
-#if defined(ENABLE_NEW_CLOUD_PROTOCOL)
+#ifdef ENABLE_ACLK
// in case we have cloud connection we inform cloud
// new child connected
if (netdata_cloud_setting)
@@ -713,7 +713,7 @@ static int rrdpush_receive(struct receiver_state *rpt)
error("STREAM %s [receive from [%s]:%s]: disconnected (completed %zu updates).", rpt->hostname, rpt->client_ip,
rpt->client_port, count);
-#if defined(ENABLE_NEW_CLOUD_PROTOCOL)
+#ifdef ENABLE_ACLK
// in case we have cloud connection we inform cloud
// new child connected
if (netdata_cloud_setting)