public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Lorenz Stechauner <l.stechauner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH v3 manager 1/1] api: aplinfo: rename REs for iso and vztmpl extensions
Date: Fri, 22 Oct 2021 14:23:12 +0200	[thread overview]
Message-ID: <20211022122312.413252-4-l.stechauner@proxmox.com> (raw)
In-Reply-To: <20211022122312.413252-1-l.stechauner@proxmox.com>

Signed-off-by: Lorenz Stechauner <l.stechauner@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}";
-- 
2.30.2





  parent reply	other threads:[~2021-10-22 12:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-22 12:23 [pve-devel] [PATCH-SERIES v3 storage/manager] factoring out RE for backup extension Lorenz Stechauner
2021-10-22 12:23 ` [pve-devel] [PATCH v3 storage 1/2] storage: rename REs for iso and vztmpl extensions Lorenz Stechauner
2021-10-22 12:23 ` [pve-devel] [PATCH v3 storage 2/2] storage/plugin: factoring out regex for backup extension re Lorenz Stechauner
2021-10-22 12:23 ` Lorenz Stechauner [this message]
2024-06-27 13:17   ` [pve-devel] applied: [PATCH v3 manager 1/1] api: aplinfo: rename REs for iso and vztmpl extensions Fiona Ebner
2021-11-04 14:40 ` [pve-devel] [PATCH-SERIES v3 storage/manager] factoring out RE for backup extension Dominik Csapak
2022-03-16 16:16   ` [pve-devel] applied: " Thomas Lamprecht
2022-03-17  7:51     ` Dominik Csapak
2022-03-17  7:59       ` Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211022122312.413252-4-l.stechauner@proxmox.com \
    --to=l.stechauner@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal