5
0
mirror of git://git.proxmox.com/git/pve-access-control.git synced 2025-01-03 01:17:55 +03:00

fixup comments about config locks

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2023-08-11 13:30:13 +02:00
parent fbb1fa448f
commit d4397b514f

View File

@ -311,7 +311,7 @@ sub on_update_hook {
# and if the activate check on addition fails, to cleanup all storage traces
# which on_add_hook may have created.
# die to abort deletion if there are (very grave) problems
# NOTE: runs in a storage config *locked* context
# NOTE: runs in a domain config *locked* context
sub on_delete_hook {
my ($class, $realm, $config) = @_;
# do nothing by default
@ -319,7 +319,7 @@ sub on_delete_hook {
# called during addition and updates of realms (before the new domain config gets written)
# die to abort addition/update in case the connection/bind fails
# NOTE: runs in a storage config *locked* context
# NOTE: runs in a domain config *locked* context
sub check_connection {
my ($class, $realm, $config, %param) = @_;
# do nothing by default