Add check-updates command to detect and update outdated agents and services
This commit is contained in:
@@ -323,6 +323,11 @@ namespace dropshell
|
||||
}
|
||||
}
|
||||
|
||||
// Parse template hash
|
||||
if (service_json.contains("template_hash") && service_json["template_hash"].is_string()) {
|
||||
service_status.remote_template_hash = service_json["template_hash"].get<std::string>();
|
||||
}
|
||||
|
||||
status[service_name] = service_status;
|
||||
}
|
||||
} catch (const nlohmann::json::parse_error& e) {
|
||||
|
||||
Reference in New Issue
Block a user