[pve-devel] applied: [PATCH v3 manager 1/1] api: aplinfo: rename REs for iso and vztmpl extensions

Fiona Ebner f.ebner at proxmox.com
Thu Jun 27 15:17:22 CEST 2024


Am 22.10.21 um 14:23 schrieb Lorenz Stechauner:
> Signed-off-by: Lorenz Stechauner <l.stechauner at proxmox.com>
> ---
>  PVE/APLInfo.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/PVE/APLInfo.pm b/PVE/APLInfo.pm
> index 5cee1af8..1eff7107 100644
> --- a/PVE/APLInfo.pm
> +++ b/PVE/APLInfo.pm
> @@ -84,7 +84,7 @@ sub read_aplinfo_from_fh {
>  	    my $template;
>  	    if ($res->{location}) {
>  		$template = $res->{location};
> -		$template =~ s|.*/([^/]+$PVE::Storage::vztmpl_extension_re)$|$1|;
> +		$template =~ s|.*/([^/]+$PVE::Storage::VZTMPL_EXT_RE_1)$|$1|;
>  		if ($res->{location} !~ m|^([a-zA-Z]+)\://|) {
>  		    # relative localtion (no http:// prefix)
>  		    $res->{location} = "$source/$res->{location}";

applied, thanks!

Stumbled across this, because the comment in pve-storage was wrong as
this never got applied:
https://lists.proxmox.com/pipermail/pve-devel/2024-June/064326.html




More information about the pve-devel mailing list