fixes typo (copy&paste) by logging of flush impossibility at consistency check, #3306

pull/3324/head
Sergey G. Brester 2022-06-19 23:06:42 +02:00 committed by GitHub
parent 5aeb49a620
commit a7ade07bf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ class Actions(JailThread, Mapping):
if hasattr(action, 'consistencyCheck'):
def _beforeRepair():
if stop and not getattr(action, 'actionrepair_on_unban', None): # don't need repair on stop
self._logSys.error("Invariant check failed. Flush is impossible.")
logSys.error("Invariant check failed. Flush is impossible.")
return False
return True
action.consistencyCheck(_beforeRepair)