diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2021-11-25 09:48:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-25 09:48:52 +0200 |
commit | 3e077330d8891599e3d3acb138332b7ce7b85956 (patch) | |
tree | 63f01cbd72667898eed1b00f517f5d15cf3a1a5d /database | |
parent | 0ce7ad32694fa9e379277155979a4885d2713702 (diff) |
Set NETDATA_CONTAINER_OS_DETECTION to system_info->container_os_detection (#11827)
Diffstat (limited to 'database')
-rw-r--r-- | database/rrdhost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/database/rrdhost.c b/database/rrdhost.c index ad81d0e995..8883250dc8 100644 --- a/database/rrdhost.c +++ b/database/rrdhost.c @@ -1557,8 +1557,8 @@ int rrdhost_set_system_info_variable(struct rrdhost_system_info *system_info, ch system_info->container_os_version_id = strdupz(value); } else if(!strcmp(name, "NETDATA_CONTAINER_OS_DETECTION")){ - freez(system_info->host_os_detection); - system_info->host_os_detection = strdupz(value); + freez(system_info->container_os_detection); + system_info->container_os_detection = strdupz(value); } else if(!strcmp(name, "NETDATA_HOST_OS_NAME")){ freez(system_info->host_os_name); |