From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox v2 3/8] auth-api: remove unnecessary return
Date: Wed, 10 Dec 2025 11:56:08 +0100 [thread overview]
Message-ID: <20251210105615.215532-3-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-auth-api/src/api/access.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxmox-auth-api/src/api/access.rs b/proxmox-auth-api/src/api/access.rs
index 3ff1d0e8..fe416250 100644
--- a/proxmox-auth-api/src/api/access.rs
+++ b/proxmox-auth-api/src/api/access.rs
@@ -93,7 +93,7 @@ pub async fn verify_vnc_ticket(verify_params: VerifyVNCTicket) -> Result<(), Err
verify_params.port.unwrap_or_default(),
)? {
None => bail!("Checking VNC ticket failed"), // no path based tickets supported, just fall through.
- Some(true) => return Ok(()),
+ Some(true) => Ok(()),
Some(false) => bail!("No such privilege"),
}
}
--
2.47.3
_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
next prev parent reply other threads:[~2025-12-10 10:56 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 ` Maximiliano Sandoval [this message]
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 ` [pbs-devel] [PATCH proxmox v2 7/8] http: remove unnecessary conversion Maximiliano Sandoval
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-3-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.