[pve-devel] [PATCH manager] pve8to9: fix log code ref
Mira Limbeck
m.limbeck at proxmox.com
Fri Jul 11 12:16:07 CEST 2025
Signed-off-by: Mira Limbeck <m.limbeck at proxmox.com>
---
PVE/CLI/pve8to9.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/CLI/pve8to9.pm b/PVE/CLI/pve8to9.pm
index acf9a3c81..91b50cd9f 100644
--- a/PVE/CLI/pve8to9.pm
+++ b/PVE/CLI/pve8to9.pm
@@ -1561,7 +1561,7 @@ sub check_lvm_autoactivation {
}
if ($needs_fix) {
# only warn if shared storages are affected, for local ones this is mostly cosmetic.
- my $_log = $shared_affected ? \log_warn : \log_notice;
+ my $_log = $shared_affected ? \&log_warn : \&log_notice;
my $extra =
$shared_affected
? "Some affected volumes are on shared LVM storages, which has known issues (Bugzilla"
--
2.39.5
More information about the pve-devel
mailing list