mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
fix: enhance condition checks in Configurator for variable handling
This commit is contained in:
parent
d218f610c5
commit
9f737f9fec
1 changed files with 6 additions and 1 deletions
|
|
@ -186,7 +186,12 @@ class Configurator:
|
|||
ret, err = self.__check_var(variable)
|
||||
if ret:
|
||||
config[variable] = value
|
||||
elif (not first_run or not self.__variables.get("EXTERNAL_PLUGIN_URLS")) and (
|
||||
elif (
|
||||
not first_run
|
||||
or variable in self.get_settings()
|
||||
or variable in self.get_plugins_settings("core")
|
||||
or not self.__variables.get("EXTERNAL_PLUGIN_URLS")
|
||||
) and (
|
||||
variable == "KUBERNETES_MODE"
|
||||
or (
|
||||
"CUSTOM_CONF" not in variable
|
||||
|
|
|
|||
Loading…
Reference in a new issue