[pve-devel] applied: [PATCH storage] factoring out regex for vztmpl

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jun 23 20:38:57 CEST 2021


On 23.06.21 15:10, Lorenz Stechauner wrote:
> stores the regex definition in PVE::Storage.
> 
> One test had to be adapted because it tested obsolete code. Namely:
> it expects vztmpl to only end with .tar.gz, but the new regex also
> includes .tar.xz, there is nothing against allowing .tar.xz files as
> vztmpl files.
> 
> Signed-off-by: Lorenz Stechauner <l.stechauner at proxmox.com>
> ---
> updates "[PATCH v10 storage 1/3] factoring out regex'es for backup and vztmpl"
> changes:
> * only factor vztmpl_extension_re out
> 
>  PVE/API2/Storage/Status.pm     | 6 +++---
>  PVE/Storage.pm                 | 4 +++-
>  PVE/Storage/Plugin.pm          | 4 ++--
>  test/path_to_volume_id_test.pm | 7 ++++---
>  4 files changed, 12 insertions(+), 9 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list