Hostmetrics user string (#6850)

This commit is contained in:
Jonathan Bennett authored and GitHub committed 2025-05-20 13:04:05 -05:00
1 parent c70fa0ef13
commit e0f878872f
4 files changed
+16 -7

No files matched your search

+1
View File
@@ -603,6 +603,7 @@ bool loadConfig(const char *configPath)
if (yamlConfig["HostMetrics"]) {
settingsMap[hostMetrics_channel] = (yamlConfig["HostMetrics"]["Channel"]).as<int>(0);
settingsMap[hostMetrics_interval] = (yamlConfig["HostMetrics"]["ReportInterval"]).as<int>(0);
settingsStrings[hostMetrics_user_command] = (yamlConfig["HostMetrics"]["UserStringCommand"]).as<std::string>("");
}
if (yamlConfig["General"]) {