summaryrefslogtreecommitdiffstats
path: root/claim
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-12 07:26:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-12 07:26:17 +0000
commit7877a98bd9c00db5e81dd2f8c734cba2bab20be7 (patch)
treed18b767250f7c7ced9b8abe2ece784ac1fe24d3e /claim
parentReleasing debian version 1.35.1-2. (diff)
downloadnetdata-7877a98bd9c00db5e81dd2f8c734cba2bab20be7.tar.xz
netdata-7877a98bd9c00db5e81dd2f8c734cba2bab20be7.zip
Merging upstream version 1.36.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'claim')
-rw-r--r--claim/claim.c2
-rw-r--r--claim/claim.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/claim/claim.c b/claim/claim.c
index f06679786..59c21aa35 100644
--- a/claim/claim.c
+++ b/claim/claim.c
@@ -31,7 +31,7 @@ static char *claiming_errors[] = {
/* Retrieve the claim id for the agent.
* Caller owns the string.
*/
-char *is_agent_claimed()
+char *get_agent_claimid()
{
char *result;
rrdhost_aclk_state_lock(localhost);
diff --git a/claim/claim.h b/claim/claim.h
index 171cc1fab..fc76037d3 100644
--- a/claim/claim.h
+++ b/claim/claim.h
@@ -9,7 +9,7 @@ extern char *claiming_pending_arguments;
extern struct config cloud_config;
void claim_agent(char *claiming_arguments);
-char *is_agent_claimed(void);
+char *get_agent_claimid(void);
void load_claiming_state(void);
void load_cloud_conf(int silent);