autoconf - add missing import and fix double lock release
This commit is contained in:
parent
6af3b985a0
commit
9f70605643
|
@ -1,4 +1,5 @@
|
|||
from os import getenv
|
||||
from time import sleep
|
||||
from traceback import format_exc
|
||||
from threading import Thread, Lock
|
||||
from docker import DockerClient
|
||||
|
@ -141,6 +142,7 @@ class SwarmController(Controller, ConfigCaller):
|
|||
):
|
||||
self.__internal_lock.release()
|
||||
locked = False
|
||||
continue
|
||||
self.__logger.info(
|
||||
f"Catched Swarm event ({event_type}), deploying new configuration ..."
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue