]> git.proxmox.com Git - pve-access-control.git/commitdiff
fixup call to cfs_lock_authkey
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 14 Mar 2019 10:13:07 +0000 (11:13 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 14 Mar 2019 10:18:43 +0000 (11:18 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/AccessControl.pm

index 19d008c0be94fc14130d2d1420a0f4912583b007..6cfc8413924e3826c91ed1ed03fbbf2c05b4e8b7 100644 (file)
@@ -158,7 +158,7 @@ sub check_authkey {
 sub rotate_authkey {
     return if $authkey_lifetime == 0;
 
 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();
 
        # re-check with lock to avoid double rotation in clusters
        return if check_authkey();