diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm index 19d008c..6cfc841 100644 --- a/PVE/AccessControl.pm +++ b/PVE/AccessControl.pm @@ -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();