diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2022-03-16 14:16:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-16 14:16:18 +0200 |
commit | c56179647ca93d3b377dc88dc1467b8a6997ef74 (patch) | |
tree | ae7e5dabdda6554210b4a2a184cd6e0e9ab1e233 /database | |
parent | c8e8dc42c5ec295006ddd07dcb17666fb246d75d (diff) |
Fix os_name for older agent versions streaming to a parent (#12425)
Diffstat (limited to 'database')
-rw-r--r-- | database/rrdhost.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/database/rrdhost.c b/database/rrdhost.c index 5890b6f9ce..3c0d0d3a37 100644 --- a/database/rrdhost.c +++ b/database/rrdhost.c @@ -1566,6 +1566,7 @@ int rrdhost_set_system_info_variable(struct rrdhost_system_info *system_info, ch else if(!strcmp(name, "NETDATA_HOST_OS_NAME")){ freez(system_info->host_os_name); system_info->host_os_name = strdupz(value); + json_fix_string(system_info->host_os_name); } else if(!strcmp(name, "NETDATA_HOST_OS_ID")){ freez(system_info->host_os_id); |