From 7513e21d741189511a20e1664f6a3d3f69b5b95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Thu, 31 Jul 2025 13:15:19 +0200 Subject: [PATCH] plugin: parse_name_dir: drop deprecation warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this gets printed very often if such a volume exists - e.g. adding such a volume to a config with `qm set` prints it 10 times.. Signed-off-by: Fabian Grünbichler Tested-by: Shannon Sterz Link: https://lore.proxmox.com/20250731111519.931104-5-f.gruenbichler@proxmox.com --- src/PVE/Storage/Plugin.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/src/PVE/Storage/Plugin.pm b/src/PVE/Storage/Plugin.pm index db05e0e..2291d72 100644 --- a/src/PVE/Storage/Plugin.pm +++ b/src/PVE/Storage/Plugin.pm @@ -718,7 +718,6 @@ sub parse_name_dir { } elsif ($name =~ m!^snap-.*\.qcow2$!) { die "'$name' is a snapshot filename, not a volume!\n"; } elsif ($name =~ m!^((base-)?[^/\s]+\.(raw|qcow2|vmdk|subvol))$!) { - warn "this volume name `$name` is deprecated, please use (base-/vm-/subvol-)-NNN- as prefix\n"; return ($1, $3, $2); # (name ,format, isBase) }