Skip to content

Commit 5ebff27

Browse files
committed
Fixed introspection.
1 parent 6a1e057 commit 5ebff27

File tree

1 file changed

+2
-4
lines changed
  • server/swimos_introspection/src/meta_mesh

1 file changed

+2
-4
lines changed

server/swimos_introspection/src/meta_mesh/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ use futures::{FutureExt, SinkExt, StreamExt, TryFutureExt};
2222
use parking_lot::RwLock;
2323
use std::collections::HashMap;
2424
use std::sync::Arc;
25-
use swimos_agent_protocol::encoding::lane::{
26-
MapLaneResponseEncoder, RawValueLaneRequestDecoder, ValueLaneResponseEncoder,
27-
};
25+
use swimos_agent_protocol::encoding::lane::{MapLaneResponseEncoder, RawValueLaneRequestDecoder};
2826
use swimos_agent_protocol::{LaneRequest, LaneResponse, MapOperation};
2927
use swimos_api::agent::{Agent, AgentConfig, AgentContext, AgentInitResult};
3028
use swimos_api::error::{AgentTaskError, FrameIoError};
@@ -219,7 +217,7 @@ async fn run_task(
219217
let (nodes_count_tx, nodes_count_rx) = nodes_count_io;
220218

221219
let nodes_input = FramedRead::new(nodes_rx, RawValueLaneRequestDecoder::default());
222-
let mut nodes_output = FramedWrite::new(nodes_tx, ValueLaneResponseEncoder::default());
220+
let mut nodes_output = FramedWrite::new(nodes_tx, MapLaneResponseEncoder::default());
223221

224222
let nodes_count_input = FramedRead::new(nodes_count_rx, RawValueLaneRequestDecoder::default());
225223
let mut nodes_count_output =

0 commit comments

Comments
 (0)