[pbs-devel] [PATCH v3 proxmox-backup 24/58] tools: cover meta extension for pxar archives
Fabian Grünbichler
f.gruenbichler at proxmox.com
Thu Apr 4 11:01:33 CEST 2024
On March 28, 2024 1:36 pm, Christian Ebner wrote:
> Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
> ---
> changes since version 2:
> - use mpxar and ppxar file extensions
>
> pbs-client/src/tools/mod.rs | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pbs-client/src/tools/mod.rs b/pbs-client/src/tools/mod.rs
> index 1b0123a39..08986fc5e 100644
> --- a/pbs-client/src/tools/mod.rs
> +++ b/pbs-client/src/tools/mod.rs
> @@ -337,7 +337,7 @@ pub fn complete_pxar_archive_name(arg: &str, param: &HashMap<String, String>) ->
> complete_server_file_name(arg, param)
> .iter()
> .filter_map(|name| {
> - if name.ends_with(".pxar.didx") {
> + if name.ends_with(".pxar.didx") || name.ends_with(".pxar.meta.didx") {
this still has the old extension/naming scheme instead of the new one
> Some(pbs_tools::format::strip_server_file_extension(name).to_owned())
> } else {
> None
> --
> 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