pve8to9: fix log code ref

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
Link: https://lore.proxmox.com/20250711101607.106298-1-m.limbeck@proxmox.com
This commit is contained in:
Mira Limbeck 2025-07-11 12:16:07 +02:00 committed by Thomas Lamprecht
parent 0640648bcd
commit dab5bbb371

View file

@ -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"