fixup call to cfs_lock_authkey

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-03-14 11:13:07 +01:00
parent 21800a71a7
commit 03593f3d01

View File

@ -158,7 +158,7 @@ sub check_authkey {
sub rotate_authkey {
return if $authkey_lifetime == 0;
cfs_lock_authkey(undef, sub {
PVE::Cluster::cfs_lock_authkey(undef, sub {
# re-check with lock to avoid double rotation in clusters
return if check_authkey();