diff options
author | Timotej S <6674623+underhood@users.noreply.github.com> | 2020-09-08 11:14:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-08 11:14:53 +0200 |
commit | ae7a9aa7ed8109eda7f681fa7583dbb22dce0172 (patch) | |
tree | 1321b576124eb542d60f526b8e360b03637f13da /claim | |
parent | 1982291959543f50d00af820701ace3a1495bd82 (diff) |
ACLK Version Negotiation (#9819)
* implements version negotiation for ACLK
Diffstat (limited to 'claim')
-rw-r--r-- | claim/claim.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/claim/claim.c b/claim/claim.c index b9186bebcd..7846925e6d 100644 --- a/claim/claim.c +++ b/claim/claim.c @@ -116,7 +116,7 @@ void claim_agent(char *claiming_arguments) } #ifdef ENABLE_ACLK -extern int aclk_connected, aclk_kill_link; +extern int aclk_connected, aclk_kill_link, aclk_disable_runtime; #endif /* Change the claimed state of the agent. @@ -144,6 +144,7 @@ void load_claiming_state(void) info("Agent was already connected to Cloud - forcing reconnection under new credentials"); aclk_kill_link = 1; } + aclk_disable_runtime = 0; // Propagate into aclk and registry. Be kind of atomic... appconfig_get(&cloud_config, CONFIG_SECTION_GLOBAL, "cloud base url", DEFAULT_CLOUD_BASE_URL); |