diff options
author | Timotej S <6674623+underhood@users.noreply.github.com> | 2022-08-24 10:41:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 10:41:14 +0200 |
commit | 971fe355478c015a858a4428bf408ca2c2395c42 (patch) | |
tree | 32b1b1dffc40c0880a4576604e8776099040d380 /daemon | |
parent | efd9989bc6edb5f32ef60cd53d237929a93f425f (diff) |
Remove aclk_api.[ch] (#13540)
* get rid of aclk_starter middleman
* get rid of aclk_api.[ch]
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/buildinfo.c | 1 | ||||
-rw-r--r-- | daemon/common.h | 2 | ||||
-rw-r--r-- | daemon/static_threads.c | 4 |
3 files changed, 3 insertions, 4 deletions
diff --git a/daemon/buildinfo.c b/daemon/buildinfo.c index 456cf74867..2f837ea309 100644 --- a/daemon/buildinfo.c +++ b/daemon/buildinfo.c @@ -317,7 +317,6 @@ void print_build_info_json(void) { printf(" \"cloud-disabled\": false,\n"); #endif printf(" \"aclk\": %s,\n", FEAT_JSON_BOOL(FEAT_CLOUD)); - printf(" \"aclk-new-cloud-proto\": %s,\n", FEAT_JSON_BOOL(1)); printf(" \"tls-host-verify\": %s,\n", FEAT_JSON_BOOL(FEAT_TLS_HOST_VERIFY)); printf(" \"machine-learning\": %s\n", FEAT_JSON_BOOL(FEAT_ML)); diff --git a/daemon/common.h b/daemon/common.h index 2a45ffe70e..f3d868661e 100644 --- a/daemon/common.h +++ b/daemon/common.h @@ -69,7 +69,7 @@ #include "claim/claim.h" // netdata agent cloud link -#include "aclk/aclk_api.h" +#include "aclk/aclk.h" // global GUID map functions diff --git a/daemon/static_threads.c b/daemon/static_threads.c index 96e2799064..2575bd4ca6 100644 --- a/daemon/static_threads.c +++ b/daemon/static_threads.c @@ -2,7 +2,7 @@ #include "common.h" -extern void *aclk_starter(void *ptr); +extern void *aclk_main(void *ptr); extern void *analytics_main(void *ptr); extern void *checks_main(void *ptr); extern void *cpuidlejitter_main(void *ptr); @@ -131,7 +131,7 @@ const struct netdata_static_thread static_threads_common[] = { .enabled = 1, .thread = NULL, .init_routine = NULL, - .start_routine = aclk_starter + .start_routine = aclk_main }, #endif |