summaryrefslogtreecommitdiffstats
path: root/src/daemon/config/dyncfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/config/dyncfg.c')
-rw-r--r--src/daemon/config/dyncfg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/config/dyncfg.c b/src/daemon/config/dyncfg.c
index 2f484d1ed..e6c1768cc 100644
--- a/src/daemon/config/dyncfg.c
+++ b/src/daemon/config/dyncfg.c
@@ -192,7 +192,7 @@ const DICTIONARY_ITEM *dyncfg_add_internal(RRDHOST *host, const char *id, const
rrd_function_execute_cb_t execute_cb, void *execute_cb_data,
bool overwrite_cb) {
DYNCFG tmp = {
- .host_uuid = uuid2UUID(host->host_uuid),
+ .host_uuid = host->host_id,
.path = string_strdupz(path),
.cmds = cmds,
.type = type,
@@ -358,6 +358,7 @@ bool dyncfg_add_low_level(RRDHOST *host, const char *id, const char *path,
string2str(df->function),
120,
1000,
+ DYNCFG_FUNCTIONS_VERSION,
"Dynamic configuration",
"config",
(view_access & edit_access),