mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-02 21:09:44 +00:00
5to6: fixup: really set $total_votes to 0 if not defined
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
6ab8927e85
commit
23a60185fb
@ -294,7 +294,7 @@ sub check_cluster_corosync {
|
||||
}
|
||||
if (!defined($total_votes)) {
|
||||
log_fail("unable to get expected number of votes, setting to 0.");
|
||||
$expected_votes = 0;
|
||||
$total_votes = 0;
|
||||
}
|
||||
|
||||
my $cfs_nodelist = PVE::Cluster::get_clinfo()->{nodelist};
|
||||
|
Loading…
Reference in New Issue
Block a user