public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox v2 7/8] http: remove unnecessary conversion
Date: Wed, 10 Dec 2025 11:56:12 +0100	[thread overview]
Message-ID: <20251210105615.215532-7-m.sandoval@proxmox.com> (raw)
In-Reply-To: <20251210105615.215532-1-m.sandoval@proxmox.com>

Signed-off-by: Maximiliano Sandoval <m.sandoval@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



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


  parent reply	other threads:[~2025-12-10 10:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-10 10:56 [pbs-devel] [PATCH proxmox v2 1/8] proxmox-fixed-string: bump msrv to 1.87 Maximiliano Sandoval
2025-12-10 10:56 ` [pbs-devel] [PATCH proxmox v2 2/8] don't hide a lifetimes that are elided elsewhere Maximiliano Sandoval
2025-12-10 10:56 ` [pbs-devel] [PATCH proxmox v2 3/8] auth-api: remove unnecessary return Maximiliano Sandoval
2025-12-10 10:56 ` [pbs-devel] [PATCH proxmox v2 4/8] deb-version: remove unnecesary vec! call Maximiliano Sandoval
2025-12-10 10:56 ` [pbs-devel] [PATCH proxmox v2 5/8] fixed-string: remove unused import Maximiliano Sandoval
2025-12-10 10:56 ` [pbs-devel] [PATCH proxmox v2 6/8] rest-server: " Maximiliano Sandoval
2025-12-10 10:56 ` Maximiliano Sandoval [this message]
2025-12-10 10:56 ` [pbs-devel] [PATCH proxmox v2 8/8] router: replace clone with std::slice::from_ref Maximiliano Sandoval
2025-12-10 18:19 ` [pbs-devel] [PATCH proxmox v2 1/8] proxmox-fixed-string: bump msrv to 1.87 Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251210105615.215532-7-m.sandoval@proxmox.com \
    --to=m.sandoval@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal