]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
lrm: fix log call on wrong module
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 7 Oct 2021 13:19:30 +0000 (15:19 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 7 Oct 2021 13:19:30 +0000 (15:19 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/HA/LRM.pm

index afbd236ae47cc544868a3ebd0fa6c5408d25cb1a..5605ab5bdaadf20def1cc8d32a3266dead543a1f 100644 (file)
@@ -123,7 +123,7 @@ sub shutdown_request {
 
     eval { $self->update_lrm_status() or die "not quorate?\n"; };
     if (my $err = $@) {
-       $self->log('err', "unable to update lrm status file - $err");
+       $haenv->log('err', "unable to update lrm status file - $err");
     }
 }