mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
autoconf - fix variable typo in k8s watch
This commit is contained in:
parent
ecf4e77b32
commit
eee03c4ae1
1 changed files with 3 additions and 2 deletions
|
|
@ -235,7 +235,7 @@ class IngressController(Controller, ConfigCaller):
|
|||
locked = False
|
||||
continue
|
||||
self.__logger.info(
|
||||
f"Catched kubernetes event ({what}), deploying new configuration ...",
|
||||
f"Catched kubernetes event ({watch_type}), deploying new configuration ...",
|
||||
)
|
||||
try:
|
||||
ret = self.apply_config()
|
||||
|
|
@ -263,8 +263,9 @@ class IngressController(Controller, ConfigCaller):
|
|||
except ApiException as e:
|
||||
if e.status != 410:
|
||||
self.__logger.error(
|
||||
f"Exception while reading k8s event (type = {watch_type}) :\n{format_exc()}",
|
||||
f"API exception while reading k8s event (type = {watch_type}) :\n{format_exc()}",
|
||||
)
|
||||
error = True
|
||||
except:
|
||||
self.__logger.error(
|
||||
f"Unknown exception while reading k8s event (type = {watch_type}) :\n{format_exc()}",
|
||||
|
|
|
|||
Loading…
Reference in a new issue