[pbs-devel] [PATCH proxmox 7/8] http: remove unnecessary conversion
Maximiliano Sandoval
m.sandoval at proxmox.com
Tue Dec 9 11:52:47 CET 2025
Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
proxmox-http/src/websocket/mod.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/proxmox-http/src/websocket/mod.rs b/proxmox-http/src/websocket/mod.rs
index 4bf47eb2..5ce53651 100644
--- a/proxmox-http/src/websocket/mod.rs
+++ b/proxmox-http/src/websocket/mod.rs
@@ -880,11 +880,11 @@ impl WebSocket {
select! {
res = downstream_future.fuse() => match res {
Ok(_) => Ok(()),
- Err(err) => Err(Error::from(err)),
+ Err(err) => Err(err),
},
res = upstream_future.fuse() => match res {
Ok(_) => Ok(()),
- Err(err) => Err(Error::from(err)),
+ Err(err) => Err(err),
},
}
}
--
2.47.3
More information about the pbs-devel
mailing list