diff options
author | Timotej Šiškovič <timotej@netdata.cloud> | 2021-09-21 11:33:25 +0200 |
---|---|---|
committer | Timotej Šiškovič <timotej@netdata.cloud> | 2021-09-21 11:38:29 +0200 |
commit | d0ad0cd4bad8117d36757e00bc06c79e39d0d1a2 (patch) | |
tree | efe2a8d6b9fedb1c8e6a5cdcb22b4f897b1d8ce4 | |
parent | 03e68ace5764f9e78cf8177097423d501adb83e4 (diff) |
fix typo in urlagent-ng
-rw-r--r-- | aclk/aclk_otp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aclk/aclk_otp.c b/aclk/aclk_otp.c index 411a5f8912..e84175b6d0 100644 --- a/aclk/aclk_otp.c +++ b/aclk/aclk_otp.c @@ -846,7 +846,7 @@ int aclk_get_env(aclk_env_t *env, const char* aclk_hostname, int aclk_port) { return 1; } - buffer_sprintf(buf, "/api/v1/env?v=%s&cap=json$claim_id=%s", &(VERSION[1]) /* skip 'v' at beginning */, agent_id); + buffer_sprintf(buf, "/api/v1/env?v=%s&cap=json&claim_id=%s", &(VERSION[1]) /* skip 'v' at beginning */, agent_id); freez(agent_id); req.host = (char*)aclk_hostname; |