Skip to content

Commit

Permalink
Update cloud virtual host name (netdata#19163)
Browse files Browse the repository at this point in the history
* Update vnode host info metadata to cloud

* Check if host is already created

* Simplify check
  • Loading branch information
stelfrag authored Dec 9, 2024
1 parent 98bcdf7 commit 215b199
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins.d/pluginsd_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,10 @@ static inline PARSER_RC pluginsd_host_define_end(char **words __maybe_unused, si

rrdhost_flag_clear(host, RRDHOST_FLAG_ORPHAN);
rrdcontext_host_child_connected(host);
schedule_node_state_update(host, 100);
if (host->aclk_config)
aclk_queue_node_info(host, true);
else
schedule_node_state_update(host, 100);

return PARSER_RC_OK;
}
Expand Down

0 comments on commit 215b199

Please sign in to comment.