mirror of
git://git.proxmox.com/git/pve-access-control.git
synced 2025-01-20 14:03:43 +03:00
tfa: upgrade check: be less strict about version format
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
72f4c73feb
commit
9f34502077
@ -1779,7 +1779,7 @@ sub assert_new_tfa_config_available() {
|
||||
}
|
||||
$info = from_json($info);
|
||||
my $ver = $info->{version};
|
||||
if ($ver !~ /^(\d+\.\d+)-(\d+)$/) {
|
||||
if ($ver !~ /^(\d+\.\d+)-(\d+)/) {
|
||||
$old .= "cluster node '$node' provided an invalid version string: '$ver'\n";
|
||||
next;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user