Update src/Coordination/KeeperStorage.cpp

Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
This commit is contained in:
alesapin 2022-05-17 11:55:54 +02:00 committed by GitHub
parent e75aa445a6
commit f958203b6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1657,7 +1657,7 @@ KeeperStorage::ResponsesForSessions KeeperStorage::processRequest(
if (is_local)
{
assert(!zk_request->isReadRequest());
assert(zk_request->isReadRequest());
if (check_acl && !request_processor->checkAuth(*this, session_id, true))
{
response = zk_request->makeResponse();