public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Arthur Bied-Charreton <a.bied-charreton@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH proxmox] subscription: age check: fix incorrect doc comment
Date: Fri,  5 Jun 2026 08:43:51 +0200	[thread overview]
Message-ID: <20260605064351.49637-1-a.bied-charreton@proxmox.com> (raw)

The doc comment for SubscriptionInfo::check_age claimed a validity of
30+5 days for unsigned instances, whereas the code cuts off at 15+5.

Signed-off-by: Arthur Bied-Charreton <a.bied-charreton@proxmox.com>
---
 proxmox-subscription/src/subscription_info.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxmox-subscription/src/subscription_info.rs b/proxmox-subscription/src/subscription_info.rs
index f400ea69..3ef503bc 100644
--- a/proxmox-subscription/src/subscription_info.rs
+++ b/proxmox-subscription/src/subscription_info.rs
@@ -273,7 +273,7 @@ mod _impl {
         ///
         /// - Instances generated (more than 1.5h) in the future are invalid
         /// - Signed instances are valid for up to a year, clamped by the next due date
-        /// - Unsigned instances are valid for 30+5 days
+        /// - Unsigned instances are valid for 15+5 days
         /// - If `recheck` is set to `true`, unsigned instances are only treated as valid for 5 days
         ///   (this mode is used to decide whether to refresh the subscription information)
         ///
-- 
2.47.3




                 reply	other threads:[~2026-06-05  6:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20260605064351.49637-1-a.bied-charreton@proxmox.com \
    --to=a.bied-charreton@proxmox.com \
    --cc=pve-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