diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:20:02 +0000 |
commit | 58daab21cd043e1dc37024a7f99b396788372918 (patch) | |
tree | 96771e43bb69f7c1c2b0b4f7374cb74d7866d0cb /claim | |
parent | Releasing debian version 1.43.2-1. (diff) | |
download | netdata-58daab21cd043e1dc37024a7f99b396788372918.tar.xz netdata-58daab21cd043e1dc37024a7f99b396788372918.zip |
Merging upstream version 1.44.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'claim')
-rw-r--r-- | claim/claim.c | 4 | ||||
-rwxr-xr-x | claim/netdata-claim.sh.in | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/claim/claim.c b/claim/claim.c index 1b3f765ca..774b65ebb 100644 --- a/claim/claim.c +++ b/claim/claim.c @@ -323,11 +323,11 @@ static bool check_claim_param(const char *s) { } void claim_reload_all(void) { - error_log_limit_unlimited(); + nd_log_limits_unlimited(); load_claiming_state(); registry_update_cloud_base_url(); rrdpush_send_claimed_id(localhost); - error_log_limit_reset(); + nd_log_limits_reset(); } int api_v2_claim(struct web_client *w, char *url) { diff --git a/claim/netdata-claim.sh.in b/claim/netdata-claim.sh.in index cc6c10932..a3db591cd 100755 --- a/claim/netdata-claim.sh.in +++ b/claim/netdata-claim.sh.in @@ -175,7 +175,7 @@ elif [ -f "${MACHINE_GUID_FILE}" ]; then echo >&2 "netdata.public.unique.id is not readable. Please make sure you have rights to read it (Filename: ${MACHINE_GUID_FILE})." exit 18 else - if mkdir -p "${MACHINE_GUID_FILE%/*}" && /bin/echo -n "$(gen_id)" > "${MACHINE_GUID_FILE}"; then + if mkdir -p "${MACHINE_GUID_FILE%/*}" && echo -n "$(gen_id)" > "${MACHINE_GUID_FILE}"; then ID="$(cat "${MACHINE_GUID_FILE}")" MGUID=$ID else |