@cryptotaxi247 / netdata-1 / commits / 3e077330d

Set NETDATA_CONTAINER_OS_DETECTION to system_info->container_os_detection (#11827)

Emmanuel Vasilakis committed Nov 25, 2021 at 09:48 UTC 3e077330d8891599e3d3acb138332b7ce7b85956
1 file changed +2 -2
database/rrdhost.c
+2 -2
@@ -1557,8 +1557,8 @@ int rrdhost_set_system_info_variable(struct rrdhost_system_info *system_info, ch
1557 system_info->container_os_version_id = strdupz(value);
1558 }
1559 else if(!strcmp(name, "NETDATA_CONTAINER_OS_DETECTION")){
1560 - freez(system_info->host_os_detection);
1561 - system_info->host_os_detection = strdupz(value);
1560 + freez(system_info->container_os_detection);
1561 + system_info->container_os_detection = strdupz(value);
1562 }
1563 else if(!strcmp(name, "NETDATA_HOST_OS_NAME")){
1564 freez(system_info->host_os_name);