mirror of
https://github.com/gbrigandi/mcp-server-wazuh.git
synced 2025-12-19 03:42:21 -06:00
* Using latest 0.1.8 wazuh-client-rs craate which fixes issue with
ordering: (#17) * Improved unmarshaling for indexer responses * Other minor changes.
This commit is contained in:
@@ -54,7 +54,7 @@ impl McpStdioClient {
|
||||
fn read_response(&mut self) -> Result<Value, Box<dyn std::error::Error>> {
|
||||
let mut line = String::new();
|
||||
self.stdout.read_line(&mut line)?;
|
||||
let response: Value = serde_json::from_str(&line.trim())?;
|
||||
let response: Value = serde_json::from_str(line.trim())?;
|
||||
Ok(response)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user