[Dockerapi] define matched var before use
This commit is contained in:
parent
c8f69ffe77
commit
da415e5c6b
@ -499,6 +499,7 @@ class DockerUtils:
|
||||
async with rspamd_password_exec.start(detach=False) as stream:
|
||||
rspamd_password_return = await stream.read_out()
|
||||
|
||||
matched = False
|
||||
if "OK" in rspamd_password_return.data.decode('utf-8'):
|
||||
matched = True
|
||||
await container.restart()
|
||||
|
Loading…
Reference in New Issue
Block a user