Fix release channel in the node info message (#12905)
Fix release channel in the node info message (was hardcoded)
Stelios Fragkakis committed
May 14, 2022 at 12:10 UTC
779f505cbd7a5aa8fc3dd4bfc992684c89631cd2
1 file changed
+1
-1
database/sqlite/sqlite_aclk_node.c
+1
-1
@@ -55,7 +55,7 @@ void sql_build_node_info(struct aclk_database_worker_config *wc, struct aclk_dat
55
node_info.data.memory = host->system_info->host_ram_total ? host->system_info->host_ram_total : "0";
56
node_info.data.disk_space = host->system_info->host_disk_space ? host->system_info->host_disk_space : "0";
57
node_info.data.version = host_version ? host_version : VERSION;
58
- node_info.data.release_channel = "nightly";
58
+ node_info.data.release_channel = (char *) get_release_channel();
59
node_info.data.timezone = (char *) host->abbrev_timezone;
60
node_info.data.virtualization_type = host->system_info->virtualization ? host->system_info->virtualization : "unknown";
61
node_info.data.container_type = host->system_info->container ? host->system_info->container : "unknown";