Watch
0
0
Fork
You've already forked hyperhive
0

swarm-wire: take notices's wire types, fmt the moved imports

This commit is contained in:
atlas 2026-10-18 21:34:58 +02:00 • committed by mara
commit fc72bea151

View file

@ -141,10 +141,9 @@ impl AgentStatusReader {
else {
continue;
};
let payload = match serde_json::from_slice::<
swarm_wire::agent_status::AgentStatus,
>(&entry.value)
{
let payload = match serde_json::from_slice::<swarm_wire::agent_status::AgentStatus>(
&entry.value,
) {
Ok(status) => serde_json::to_value(status).ok(),
Err(e) => {
tracing::warn!(