@cryptotaxi247 / netdata-1 / commits / c56179647

Fix os_name for older agent versions streaming to a parent (#12425)

Stelios Fragkakis committed Mar 16, 2022 at 14:16 UTC c56179647ca93d3b377dc88dc1467b8a6997ef74
1 file changed +1
database/rrdhost.c
+1
@@ -1566,6 +1566,7 @@ int rrdhost_set_system_info_variable(struct rrdhost_system_info *system_info, ch
1566 else if(!strcmp(name, "NETDATA_HOST_OS_NAME")){
1567 freez(system_info->host_os_name);
1568 system_info->host_os_name = strdupz(value);
1569 + json_fix_string(system_info->host_os_name);
1570 }
1571 else if(!strcmp(name, "NETDATA_HOST_OS_ID")){
1572 freez(system_info->host_os_id);