[pbs-devel] [PATCH v3 proxmox-backup 24/58] tools: cover meta extension for pxar archives

Christian Ebner c.ebner at proxmox.com
Thu Apr 4 11:06:39 CEST 2024


On 4/4/24 11:01, Fabian Grünbichler wrote:
> 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

Oh, thanks for noticing! Fixed it right away in the new version branch!





More information about the pbs-devel mailing list