[pbs-devel] applied: [PATCH proxmox-backup 1/2] client: backup spec: rename change detection mode default

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Jun 10 11:52:59 CEST 2024


On June 7, 2024 3:12 pm, Christian Ebner wrote:
> 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 at 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 at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
> 
> 
> 




More information about the pbs-devel mailing list