mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-10-05 07:56:52 +08:00
Fixed users unlock in ACL LOAD command handler
This commit is contained in:
@@ -373,7 +373,7 @@ func handleLoad(params internal.HandlerFuncParams) ([]byte, error) {
|
||||
}
|
||||
|
||||
acl.LockUsers()
|
||||
defer acl.RUnlockUsers()
|
||||
defer acl.UnlockUsers()
|
||||
|
||||
f, err := os.Open(acl.Config.AclConfig)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user