]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
followup: s/ss/sc/
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 5 Oct 2019 18:25:32 +0000 (20:25 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 5 Oct 2019 18:25:34 +0000 (20:25 +0200)
fixes: dcb4a2a48404a8bf06df41e071fea348d0c971a4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/API2/HA/Status.pm

index 37fc54f4f688a65ac3d2cf48caf9130cb27488bc..104f238de9fca30937aa00b1a28cdd25b2e9a180 100644 (file)
@@ -154,7 +154,7 @@ __PACKAGE__->register_method ({
            if ($ss) {
                $data->{node} = $ss->{node};
                $data->{crm_state} = $ss->{state};
-           } elsif ($ss) {
+           } elsif ($sc) {
                $data->{node} = $sc->{node};
            }
            my $node = $data->{node} // '---'; # to be save against manual tinkering