summaryrefslogtreecommitdiffstats
path: root/claim
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-12 07:26:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-12 07:26:11 +0000
commit3c315f0fff93aa072472abc10815963ac0035268 (patch)
treea95f6a96e0e7bd139c010f8dc60b40e5b3062a99 /claim
parentAdding upstream version 1.35.1. (diff)
downloadnetdata-3c315f0fff93aa072472abc10815963ac0035268.tar.xz
netdata-3c315f0fff93aa072472abc10815963ac0035268.zip
Adding upstream version 1.36.0.upstream/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);