all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Christian Ebner <c.ebner@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 1/2] client: backup spec: rename change detection mode default
Date: Fri,  7 Jun 2024 15:12:50 +0200	[thread overview]
Message-ID: <20240607131251.418126-1-c.ebner@proxmox.com> (raw)

The currently default variant is named `Default`, which is not future
prove since the default might change in the future. So rename it to
`Legacy` instead.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
---
 pbs-client/src/backup_specification.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbs-client/src/backup_specification.rs b/pbs-client/src/backup_specification.rs
index 66bf71965..cd9e34243 100644
--- a/pbs-client/src/backup_specification.rs
+++ b/pbs-client/src/backup_specification.rs
@@ -54,7 +54,7 @@ pub fn parse_backup_specification(value: &str) -> Result<BackupSpecification, Er
 pub enum BackupDetectionMode {
     /// Encode backup as self contained pxar archive
     #[default]
-    Default,
+    Legacy,
     /// Split backup mode, re-encode payload data
     Data,
     /// Compare metadata, reuse payload chunks if metadata unchanged
-- 
2.39.2



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


             reply	other threads:[~2024-06-07 13:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-07 13:12 Christian Ebner [this message]
2024-06-07 13:12 ` [pbs-devel] [PATCH proxmox-backup 2/2] docs: add table listing possible change detection modes Christian Ebner
2024-06-10  9:53   ` [pbs-devel] applied: " Fabian Grünbichler
2024-06-10  9:52 ` [pbs-devel] applied: [PATCH proxmox-backup 1/2] client: backup spec: rename change detection mode default Fabian Grünbichler

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=20240607131251.418126-1-c.ebner@proxmox.com \
    --to=c.ebner@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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal