summaryrefslogtreecommitdiffstats
path: root/database
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2021-11-25 09:48:52 +0200
committerGitHub <noreply@github.com>2021-11-25 09:48:52 +0200
commit3e077330d8891599e3d3acb138332b7ce7b85956 (patch)
tree63f01cbd72667898eed1b00f517f5d15cf3a1a5d /database
parent0ce7ad32694fa9e379277155979a4885d2713702 (diff)
Set NETDATA_CONTAINER_OS_DETECTION to system_info->container_os_detection (#11827)
Diffstat (limited to 'database')
-rw-r--r--database/rrdhost.c4
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);