marsadm: fix version detection for gone members

This commit is contained in:
Thomas Schoebel-Theuer 2020-11-02 12:59:45 +01:00 committed by Thomas Schoebel-Theuer
parent a11f8666a3
commit bd5412d4f5
1 changed files with 1 additions and 1 deletions

View File

@ -1759,7 +1759,7 @@ sub get_global_versions {
}
}
# compute the mimimum of kernel features capabilities
foreach my $peer (alive_glob("features")) {
foreach my $peer (get_any_peers()) {
my $features = get_alive_link("features", $peer, 1);
next unless (defined($features) && $features);
next unless $features =~ m/^([0-9]+),?([0-9]*),?([x0-9a-f]*)/;